Skip to content

Unpin Python 3.13 and 3.14#15634

Merged
srittau merged 4 commits intopython:mainfrom
srittau:3.13.13
Apr 8, 2026
Merged

Unpin Python 3.13 and 3.14#15634
srittau merged 4 commits intopython:mainfrom
srittau:3.13.13

Conversation

@srittau
Copy link
Copy Markdown
Collaborator

@srittau srittau commented Apr 8, 2026

No description provided.

@srittau srittau linked an issue Apr 8, 2026 that may be closed by this pull request
@srittau srittau marked this pull request as ready for review April 8, 2026 11:50
@github-actions

This comment has been minimized.

@srittau
Copy link
Copy Markdown
Collaborator Author

srittau commented Apr 8, 2026

I'm not sure why primer keeps complaining about pandas in every PR, but it's unrelated.

@AlexWaygood
Copy link
Copy Markdown
Member

yeah, looks like some mypy nondeterminism -- maybe new in mypy 1.20.0?

Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thank you!

# and earlier. For compatibility reasons, we don't allow None in the stubs.
os.posix_spawn
os.posix_spawnp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I support this. When we add support for 3.15, we should probably allow None for the parameter in a sys.version_info >= (3, 15) branch rather than adding another allowlist entry, though. (We could maybe do that now, so we don't forget?)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hah, I was actually deliberating myself whether we should already add the 3.15 branch, but decided against it due to our general policy. But if you had the same idea, I think it makes sense to add it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Diff from mypy_primer, showing the effect of this PR on open source code:

pandas (https://github.com/pandas-dev/pandas)
+ pandas/core/computation/ops.py:328: error: Need type annotation for "_binary_ops_dict" (hint: "_binary_ops_dict: dict[<type>, <type>] = ...")  [var-annotated]

@srittau srittau merged commit 09525f9 into python:main Apr 8, 2026
80 checks passed
@srittau srittau deleted the 3.13.13 branch April 8, 2026 13: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.

Bump stubtest stdlib Python versions to the latest available

2 participants