-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry re-installs up-to-date packages when virtualenvs.create is false #1711
Comments
Just tested this again with poetry #1732 seems to be a duplicate of this one. |
a similar problem:
In this way the optimised Numpy is visible in the virtual environment. My project has a dependency |
On the other hand Still I would expect |
Noticing this here as well. This is particularly an issue with docker multistage builds and anything that requires psycopg2 (since you want your containers to be small, you're doing any build from source related tasks in the build stage, but then Poetry tries to reinstall it and it crashes and burns). EDIT: Works fine with 0.12.17 |
@etijskens This issue is about re-installing exactly the same version. One part of your issue can be solved by fixing the exact version in the |
Thanks @sdispater, I can confirm that this is fixed in the current master 👍 |
@sdispater Unfortunately the same issue is happening now with poetry |
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. |
I am on the latest Poetry version. (
1.0.0b9
)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).OS version and name: Debian buster
Poetry version:
1.0.0b9
Issue
Thanks for the great work! With current releases we experience that already up-to-date packages (with the correct versions) are reinstalled by poetry, as it tries to update them. This seems to happen because we don't use poetry's virtualenv feature (using
poetry config virtualenvs.create false
).Here's a part of the
poetry install
output, when running it the second time:It seems that dist-packages can never match the version, so poetry tries to upgrade them, even when the version actually matches.
Output of
poetry debug info
:The text was updated successfully, but these errors were encountered: