Skip to content

Use Python 3.11.5 for stubtest in CI #10641

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

Merged
merged 3 commits into from
Aug 30, 2023
Merged

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Aug 30, 2023

By using the check-latest setting with the setup-python action, we ensure that we always get the latest micro version of Python that's available on GitHub Actions, rather than whatever version happens to be lying around in the local cache of today's GitHub Actions runner. This should mean that we get more consistent Python versions in CI when running stubtest -- in the past we've been plagued by issues where some runners started using a new micro version of Python in CI, but other runners were stuck using older micro versions for a week or more.

Right now, this has the effect of upgrading the version of Python 3.11 we're using for stubtest to 3.11.5.

Docs on the check-latest option: https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#check-latest-version

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 4ae6d38 into python:main Aug 30, 2023
@AlexWaygood AlexWaygood deleted the stubtest-311-5 branch August 30, 2023 16:52
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.

2 participants