Skip to content

Fail resolving nested git dependencies 1.1.* #3102

@lgelmi

Description

@lgelmi

Issue

Poetry fails resolving dependencies with the following message:

...
   1: conflict: package_b (2.4.1 git rev master) depends on package_a (0.1.15 git rev master)
   1: ! not package_a (0.1.15 git rev master) is satisfied by package_a (0.1.15 git branch master)
   1: ! which is caused by "package_c depends on package_a (0.1.15 git branch master)"
   1: ! thus: package_b is forbidden
   1: ! package_b (2.4.1 git rev master) is satisfied by package_b (2.4.1 git branch master)
   1: ! which is caused by "package_c depends on package_b (2.4.1 git branch master)"
   1: ! thus: version solving failed
...

As you can see package_c depends both on a and b, and b depends on a.
This should not cause any error since they do not conflict and, as a matter of fact, in version 1.0.* it did not.

Sadly, the repos are private and I cannot provide them, but they are python packages managed with poetry themselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions