Skip to content
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

uv pip install -U will downgrade already-installed packages #10089

Open
charliermarsh opened this issue Dec 22, 2024 · 0 comments · May be fixed by #10097
Open

uv pip install -U will downgrade already-installed packages #10089

charliermarsh opened this issue Dec 22, 2024 · 0 comments · May be fixed by #10097
Assignees
Labels
bug Something isn't working

Comments

@charliermarsh
Copy link
Member

If you uv init packaging, then change the version to 1000 and install it, then run uv pip install -U black, we'll actually downgrade packaging unnecessarily:

❯ uv pip install -U black
Resolved 6 packages in 93ms
Prepared 5 packages in 0.25ms
Uninstalled 1 package in 0.62ms
Installed 5 packages in 5ms
 + black==24.10.0
 + mypy-extensions==1.0.0
 - packaging==1000 (from file:///Users/crmarsh/workspace/puffin/packaging)
 + packaging==24.2
 + pathspec==0.12.1
 + platformdirs==4.3.6
@charliermarsh charliermarsh added the bug Something isn't working label Dec 22, 2024
@charliermarsh charliermarsh self-assigned this Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant