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

feat: upgrade local standalone python in micro/patch level #1351

Merged
merged 6 commits into from
Apr 23, 2024

Conversation

huxuan
Copy link
Member

@huxuan huxuan commented Apr 17, 2024

…one python in micro/patch level

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

Summary of changes

close #1249

Expected behavior:

$ pipx interpreter upgrade
Nothing to upgrade
$ pipx install pycowsay --python 3.12 --fetch-missing-python --suffix .test # with the old index
  installed package pycowsay 0.0.0.2 (pycowsay.test), installed using Python 3.12.1 (standalone)
  These apps are now globally available
    - pycowsay.test
  These manual pages are now globally available
    - man6/pycowsay.6
done! ✨ 🌟 ✨
$ pipx interpreter upgrade
Upgrade the interpreter of pycowsay.test from 3.12.1 to 3.12.2
uninstalled pycowsay.test! ✨ 🌟 ✨
  installed package pycowsay 0.0.0.2 (pycowsay.test), installed using Python 3.12.2 (standalone)
  These apps are now globally available
    - pycowsay.test
  These manual pages are now globally available
    - man6/pycowsay.6
done! ✨ 🌟 ✨
Successfully upgraded the interpreter(s):
 - pycowsay.test: 3.12.1 -> 3.12.2

Test plan

Tested by running

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

@huxuan huxuan marked this pull request as ready for review April 18, 2024 03:44
@huxuan huxuan changed the title feat: add pipx interpreter upgrade command to upgrade local standal… feat: upgrade local standalone python in micro/patch level Apr 19, 2024
@huxuan huxuan force-pushed the xuan.hu/interpreter-upgrade branch from e9a2e11 to 5c48708 Compare April 19, 2024 22:46
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 514c1df into pypa:main Apr 23, 2024
14 checks passed
@huxuan huxuan deleted the xuan.hu/interpreter-upgrade branch April 23, 2024 17:19
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.

Command to update local standalone python versions
2 participants