Git Product home page Git Product logo

Comments (6)

mtkennerly avatar mtkennerly commented on May 23, 2024 1

Phew 😅 I did start looking into some better handling for this, by the way, but I've been a bit busy and haven't managed to finish it up yet. Hoping to have some news soon.

from poetry-dynamic-versioning.

fredrikaverpil avatar fredrikaverpil commented on May 23, 2024 1

Yeah this looks great now! ❤🤘
Thank you so much for fixing this!!

from poetry-dynamic-versioning.

mtkennerly avatar mtkennerly commented on May 23, 2024

Good find! That's a limitation of the current design, but I'll see if I can make it handle this better.

For reference, does this break anything for you? I can imagine that it would break any code that checks pkg2's version (e.g., enable a feature if it's new enough), but just want to make sure it's not worse than that.

from poetry-dynamic-versioning.

fredrikaverpil avatar fredrikaverpil commented on May 23, 2024

No it does not appear to break anything, but I haven't tried pointing to a specific commit. I am using the latest commit on master in my case, and this seems to work fine.

from poetry-dynamic-versioning.

fredrikaverpil avatar fredrikaverpil commented on May 23, 2024

Unfortunately I hit an issue in production which prevents me from using poetry-dynamic-versioning altogether:

Because pkg1 (1.2.1.dev0+gd3ce74c.d20200915054707) depends on pkg2 (1.2.1.dev0+gd3ce74c.d20200915054707 git)
 and pkg3 depends on pkg2 (3.1.2.dev0+gf0996b2.d20200914095735 url), pkg1 is forbidden.
So, because pkg3 depends on pkg1 (1.2.1.dev0+gd3ce74c.d20200915054707 git), version solving failed.

The pkg2 (3.1.2.dev0+gf0996b2.d20200914095735 url part refers to a wheel URL.

So, I am pretty sure that this actually embeds the wrong versions inside the metadata of a wheel. The wheel becomes incompatible with its sub-dependencies.

EDIT: Umm, wait. I think I have a circular dependency issue. Likely a false alarm!

from poetry-dynamic-versioning.

mtkennerly avatar mtkennerly commented on May 23, 2024

@fredrikaverpil This is now fixed in v0.9.0 of the plugin. Could you try it out and let me know if you still see any issues with this?

from poetry-dynamic-versioning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.