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

refactor: unify batch behavior of "install-all", "reinstall-all" and "upgrade-all" #1357

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

huxuan
Copy link
Member

@huxuan huxuan commented Apr 19, 2024

  • I have added a news fragment under changelog.d/ (if the patch affects the end users)

No changelog provided since it is refactor.

Summary of changes

Per the discussion here #1348 (comment), this pull request unified the batch behavior of install-all, reinstall-all and upgrade-all.

Note that uninstall-all is not included in this pull request since the logic is totally different from others. I would suggest to use a separate pull request for uninstall-all just like #1348 since the behavior is totally changed.

Test plan

Tested by running

# command(s) to exercise these changes
nox -s tests

P.S. Mark it as draft as depends on #1348

@huxuan huxuan changed the title refactor: unify the -all operation logic refactor: unify batch behavior of "install-all", "reinstall-all" and "upgrade-all" Apr 20, 2024
@huxuan huxuan marked this pull request as ready for review April 20, 2024 23:57
Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

@gaborbernat gaborbernat merged commit 64f354a into pypa:main Apr 23, 2024
14 checks passed
@huxuan huxuan deleted the xuan.hu/unify-all-logic branch April 23, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants