-
Notifications
You must be signed in to change notification settings - Fork 624
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 command to bump .python-version(s) files to latest patch version #7678
base: main
Are you sure you want to change the base?
Conversation
I think I'd spell this as a flag for |
@zanieb @charliermarsh Any thoughts on how to best address the discrepancy in the Windows runners installing Python
My thought is to use a cfg! clause to skip the test on windows. I checked if we could potentially modify the version used by mac/ubuntu ( |
I would mark the test as requiring the |
Thanks for the tip! Should be ready for a pass (failure seems unrelated) |
This PR adds a command (
uv python patch
) which bumps the distributions listed in .python-versions(s) files to the latest patch version available.The general strategy for finding the latest patch is to
Note that tests may not be deterministic as patches are added — this has been documented. I picked Python versions that I believe should be installed on CI runners (based on this):
Closes #7569.