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

Add --upgrade support to pip install #1379

Merged
merged 4 commits into from
Feb 16, 2024
Merged

Add --upgrade support to pip install #1379

merged 4 commits into from
Feb 16, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Feb 15, 2024

Adds support for --upgrade — similar to --reinstall.

Closes #1391

@zanieb zanieb added the enhancement New feature or request label Feb 15, 2024
@zanieb zanieb force-pushed the zb/upgrade-pip-install branch 3 times, most recently from 6b45f3f to ef0834b Compare February 15, 2024 23:40
Downloaded 1 package in [TIME]
Installed 1 package in [TIME]
- httpcore==0.16.3
+ httpcore==1.0.2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

n00b question: won't this test break once httpcore has a newer version? Or have you snapshotted pypi as of a certain date that would make this deterministic? I guess the latter, but curious anyway :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a hidden --exclude-newer flag which ignores releases after a certain date.

@zanieb zanieb merged commit 896ab1c into main Feb 16, 2024
7 checks passed
@zanieb zanieb deleted the zb/upgrade-pip-install branch February 16, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uv pip install -U does not work
3 participants