-
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 install always reinstalls all packages when used in legacy repo #2502
Comments
I was not able to reproduce this with 1.0.7 for our internal repos. |
This happens for me with Poetry 1.0.7 against our internal Gemfury repo. I've seen this before in older versions, seems like a regression of some sort. |
We are also experiencing this with artifactory. Pinning to 1.0.5 for now. |
Happens for me on 1.0.7, and additionally all packages are reinstalled every time a package is added. What is a legacy repo? |
Related: #1612 |
For people encountering this issue: did you try relocking your dependencies? There was a bug with custom repositories where the |
I deleted the
messages |
I was able to reproduce the issue. It's a bug caused by the fix in #2484. A fix is coming. |
Verified fixed in 1.0.9. Thanks for the quick fix! |
Hello, |
@CharlesAtDCube can you try the version @ master? if it still exists, please consider raising a new issue. |
First, thanks for that lightning-fast answer. |
What I meant was to install from git. Should have been a bit more clearer :) curl -sSL https://install.python-poetry.org | python3 - --git https://github.com/python-poetry/poetry.git@master If you installed the old version with the old script remember to uninstall it. Alternatively install via pipx. pipx install --suffix=@master 'poetry @ git+https://github.com/python-poetry/poetry.git@master
poetry@master --version |
Sorry but I tried installing it your way and got the 1.2 version and I could never make it work (issue with private repo not being looked up). I don't have time now to carry on investigation on this issue I am sorry, I will continue with the workaround of virtualenvs. |
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.
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: 1.0.6, 1.0.8
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/Nitori-/45e49ac8feb993c11158decd4ba1fc67
Issue
Whenever I run
poetry install
it seems any existing packages are "upgraded" to the exact same version:The text was updated successfully, but these errors were encountered: