-
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 site-packages when virtualenvs.create is false #1882
Comments
Just tested this with poetry |
Tested it again with poetry If anybody else needs poetry to install packages once for site-packages and dist-packages (see #1711) with the current versions, we are using a specific poetry version for both cases:
|
This is fixed 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.2
&1.0.1
)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: CentOS Linux release 7.5.1804
Poetry version:
1.0.2
Issue
Since poetry
1.0.1
we experience that already up-to-date site-packages (with the correct versions) are reinstalled by poetry, as it tries to update them, similar to #1711 (there it was about dist-packages). This was still working in poetry1.0.0
. This happens when not using poetry's virtualenv feature (usingpoetry config virtualenvs.create false
), in this case we are using conda to manage the environments.Here's a part of the
poetry install
output, when running it the second time:It seems that site-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: