CI config for CPython 3.15 support - #252
Merged
Merged
Conversation
Declare 3.14 and 3.15 in package classifiers and add dedicated pip CI jobs so 3.15 stays covered once a newer Python becomes conda-forge's latest. No library code changes were required. Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Add Linux and Windows pip jobs that install conda-forge's python-freethreading interpreter with PYTHON_GIL=0. Mark the OpenMP Cython test helpers as free-threading compatible so importing them does not re-enable the GIL under pytest -W error. Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Rename the 3.15 pip jobs to pyrc_pip and pyrc_ft_pip. Enable conda-forge/label/python_rc so python=3.15 can resolve, select python-gil or python-freethreading, and keep numpy/scipy on pip. Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
joblib#250 already marks the OpenMP test helpers as free-threading compatible in the pyx files, so restore the setup scripts to the plain compiler_directives dicts. Use FREETHREADING=1 for the RC free-threaded jobs to match the existing 3.14 CI flag. Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Drop the Windows pyrc_pip and pyrc_ft_pip matrix entries so the conda-forge Python RC coverage stays on ubuntu-latest. Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
The matrix keys become job-wide env vars, so PYTHON_GIL=0 also applied to the GIL-enabled base conda interpreter and aborted the Setup conda step. The free-threaded build already runs with the GIL disabled, and run_tests.sh asserts that. Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
ogrisel
marked this pull request as ready for review
September 18, 2026 13:11
Contributor
Author
|
@itamarst the free-threading CPython 3.15 runs seems to pass as intended: |
ogrisel
commented
Sep 18, 2026
ogrisel
commented
Sep 18, 2026
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #251.
This also includes a free-threading build.
The package metadata are updated to advertise Python 3.14 and Python 3.15 support.