Skip to content

Poetry 1.1.6 does not resolve dependencies for "nested"package in develop mode #3956

@pdeszynski

Description

@pdeszynski
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

In case you have such dependencies: proj1 -> proj2 -> proj3 marked as develop, newest poetry (1.1.6) will not install proj3 dependencies whether previous release will handle that case. This occurs ONLY if poetry.lock is present.

To reproduce:

git clone https://github.com/pdeszynski/poetry-fail-example
cd poetry-fail-example
docker build -f Dockerfile-1.1.5 -t poetry-1.1.5 .
docker build -f Dockerfile-1.1.6 -t poetry-1.1.6 .

docker run --rm -it poetry-1.1.5 python proj1/proj1/__init__.py  # <- this will succeed
docker run --rm -it poetry-1.1.6 python proj1/proj1/__init__.py # <- this will fail with pydash missing error

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