python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.17k stars 2.25k forks source link

PEP-517 build does not match poetry.lock #1052

Closed ipmb closed 5 years ago

ipmb commented 5 years ago

Issue

If I try to pip install . a project with this pyproject.toml I get the error:

ERROR: requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.1 which is incompatible.

poetry.lock is correctly pinned to urllib3==1.24.2, but pip installs urllib3==1.25.1.

Should I expect the pip build-system to use dependencies from poetry.lock or can it only work against the dependencies as defined in the pyproject.toml?

sdispater commented 5 years ago

Pip only understands build systems specified in pyproject.toml and has no notion of what's inside poetry.lock

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.