Skip to content

Support Python 3.14 #13957

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

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft

Support Python 3.14 #13957

wants to merge 31 commits into from

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented May 7, 2025

No description provided.

@srittau
Copy link
Collaborator Author

srittau commented May 7, 2025

In theory, python-3.14.0-beta.1 is available: https://github.com/actions/python-versions/releases. These might be some caching related issues.

Edit: The manifest hasn't been updated yet: https://github.com/actions/python-versions/blob/main/versions-manifest.json

actions/python-versions#340

@AlexWaygood
Copy link
Member

These might be some caching related issues.

We disable the setup-python cache by using the check-latest: true setting in our workflows. So it should be available as soon as the manifest is updated in the python-versions repo

@srittau srittau closed this May 8, 2025
@srittau srittau reopened this May 8, 2025
@JelleZijlstra
Copy link
Member

This is pretty promising, just need to deal with some new type checker errors.

This comment has been minimized.

This comment has been minimized.

srittau added a commit to srittau/typeshed that referenced this pull request May 9, 2025
srittau added a commit to srittau/typeshed that referenced this pull request May 9, 2025

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@srittau
Copy link
Collaborator Author

srittau commented May 9, 2025

The only remaining blocker seems to be python/mypy#19020. If a mypy release is planned in the next few days, I think we can wait, otherwise I'd add a step to CI to install mypy from git.

srittau added a commit to srittau/typeshed that referenced this pull request May 9, 2025
@JelleZijlstra
Copy link
Member

Doesn't seem like a release is imminent, probably we should just use mypy main for now

@srittau srittau closed this May 9, 2025
@srittau srittau reopened this May 9, 2025

This comment has been minimized.

Copy link
Contributor

github-actions bot commented May 9, 2025

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

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