Skip to content

Fix stdlib stubtest on Ubuntu 26.04 - #16675

Merged
AlexWaygood merged 1 commit into
mainfrom
alex/fix-stdlib-stubtest-ubuntu-26-04
Nov 1, 2026
Merged

AlexWaygood merged 1 commit into
mainfrom
alex/fix-stdlib-stubtest-ubuntu-26-04

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Addresses the stdlib failures in #16672. The oauthlib failures were fixed in #16676, so this fixes #16672.

Add the os.RWF_* and os.STATX_* constants, os.statx_result fields, and socket.SO_PASSRIGHTS exposed by Python 3.15 on Ubuntu 26.04, and allowlist termios.NCC because Ubuntu 24.04 still provides it but Python builds using headers from glibc 2.42 or later omit it. CPython statx_result · CPython SO_PASSRIGHTS · glibc 2.42 release notes

Prepared with Codex.

@AlexWaygood
AlexWaygood marked this pull request as ready for review November 1, 2026 19:32
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

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

@AlexWaygood
AlexWaygood merged commit d31f0db into main Nov 1, 2026
88 checks passed
@AlexWaygood
AlexWaygood deleted the alex/fix-stdlib-stubtest-ubuntu-26-04 branch November 1, 2026 20:21
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.

Daily tests failed on Sun Nov 01 2026

2 participants