-
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
Up-to-date packages are re-installed if virtualenvs.create is false #4254
Labels
kind/bug
Something isn't working as expected
Comments
jstriebel
added
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
labels
Jul 5, 2021
@sdispater Unfortunately #4329 did not resolve this issue, can you re-open it please? I tested it with version |
3 tasks
2 tasks
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am on the
latestcurrent master (22c3aad) 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).OS version and name: Ubuntu 20.04
Poetry version: current master (22c3aad)
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/jstriebel/6e804c769e2075be390496e68474a36c
Issue
Packages that were already installed (by poetry itself) are re-installed if
virtualenvs.create
is false. This bug only appears on v1.2, it does not occur on the1.1
branch or the latest v1.1 releases. I added a reproducible case via a Dockerfile in the linked gist.When running
docker build .
on those files, this produces:The packages are not installed twice if
virtualenvs.create
is true (tested by commenting out theCOPY poetry.toml /
line).Possibly related previous issues: #1711, #1882 (solved in previous releases, but re-introduced in v1.2)
Given that this was broken multiple times in different ways now, would it be possible to add some tests for this case as well? I'd be happy to help here, but have no experience with the poetry code-base.
The text was updated successfully, but these errors were encountered: