Skip to content

Add Python 3.15 to CI and fix test issues - #758

Merged
fantix merged 4 commits into
MagicStack:masterfrom
honglei:fix-python315-epoll-test
Sep 30, 2026
Merged

fantix merged 4 commits into
MagicStack:masterfrom
honglei:fix-python315-epoll-test

Conversation

@honglei

@honglei honglei commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor
  • Fixed epoll test cleanup on Python 3.15 by @honglei
  • Added Python 3.15 and free-threaded variant to test and release CI matrix
  • Fixed 2 flakinesses in tests
Issue Resolution
pyOpenSSL 25.3 doesn't support Python 3.15t Bump to pyOpenSSL 26.4 for python>3.8
cibuildwheel 3.2 doesn't support Python 3.15 Bump to 4.2 for python>3.8
cryptography 50.0.1 lacks wheels for Python 3.15t and Intel macOS Install OpenSSL 3 and other build dependencies to compile cryptography from source
Universal2 build settings unnecessarily make test dependencies target both architectures Build test dependencies for arm64 only and test Intel wheels separately

Serialize foreign-thread scheduling calls with the running loop in test_check_thread to avoid corrupting libuv state on free-threaded Python. Wait for the subprocess protocol connection_lost callback before asserting pipe shutdown stages.
@fantix

fantix commented Sep 29, 2026

Copy link
Copy Markdown
Member

Thank you for the PR! I added 3.15 in the CI matrix and fixed some more racing/flaky tests in freethread interpreters.

@fantix
fantix marked this pull request as ready for review September 29, 2026 19:09
@fantix fantix changed the title Fix epoll test cleanup on Python 3.15 Add Python 3.15 and 3.15t CI and release wheel builds Sep 30, 2026
@fantix fantix changed the title Add Python 3.15 and 3.15t CI and release wheel builds Add Python 3.15 to CI and fix test issues Sep 30, 2026
Use cibuildwheel 4.2 for Python 3.9+ while retaining 3.2 for Python 3.8. Pair runners with architectures explicitly, testing macOS x86_64 wheels on Intel and universal2 wheels on arm64.

Install native OpenSSL and Linux container dependencies for wheel tests, use native build flags for universal2 test dependencies, and pass the GitHub CI marker into Linux containers.
@fantix
fantix force-pushed the fix-python315-epoll-test branch from 69b8dbc to a7b2ba7 Compare September 30, 2026 14:58
@fantix
fantix merged commit f7c0547 into MagicStack:master Sep 30, 2026
60 of 63 checks passed
@fantix fantix mentioned this pull request Sep 30, 2026
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