-
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
dependency resolution discrepancy between install and update #3551
Comments
This addresses a bug in poetry: python-poetry/poetry#3551
This addresses a bug in poetry: python-poetry/poetry#3551
I think I just hit this bug, and have another repro/symptom, after observing it in a larger project. Given pyproject.toml created by [tool.poetry]
name = "poetrybug"
version = "0.1.0"
description = ""
authors = ["Paul \"Hampy\" Hampson <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.9"
docker = "^4.4.4"
aiohttp = "^3.7.4"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" Starting without a poetry.lock, both
Where requests has been chose as 2.15.1, pywin32 is 227, and everything else is latest.
However,
Rerunning It seems that The full flip-flop, including venv updates
Specifically, this is the same 'requests' flip-flop seen in the original bug report. My suspicion originally fell on Since the original ticket here is showing it with My observation is that |
An even closer-to-the-bone repro:
So it reproduces simply with The first release after requests 2.15.1 was 2.16.0, with the changelog
So there are two valid resolutions here, the problem is just the weighting used by |
duplicate #2883 |
Closing as duplicate |
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: Debian GNU/Linux 10 (buster)
Poetry version: 1.1.4
Link of a Gist with the contents of your pyproject.toml file: See below
Issue
Immediately running
poetry update
afterpoetry install
results in an update.Reproducer with wildcards:
aiohttp 2.3.10
isinstall
ed, but is thenupdate
d toaiohttp 3.7.3
Reproducer with specific versions:
requests 2.15.1
isinstall
ed, but is thenupdate
d torequests 2.25.1
The text was updated successfully, but these errors were encountered: