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

Avoid downgrading packages when --upgrade is provided #10097

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Dec 22, 2024

Summary

When --upgrade is provided, we should retain already-installed packages if they're newer than whatever is available from the registry.

Closes #10089.

@charliermarsh charliermarsh added the bug Something isn't working label Dec 22, 2024
@charliermarsh charliermarsh marked this pull request as draft December 22, 2024 16:17
@charliermarsh
Copy link
Member Author

(No reviews please, need to get tests passing.)

@charliermarsh charliermarsh force-pushed the charlie/downgrade branch 4 times, most recently from 7f3d738 to b14fb9c Compare December 22, 2024 16:55
@charliermarsh charliermarsh requested a review from zanieb December 22, 2024 17:44
@charliermarsh charliermarsh marked this pull request as ready for review December 22, 2024 17:44
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 this pull request may close these issues.

uv pip install -U will downgrade already-installed packages
1 participant