Repository navigation
ci(python): run GraalPy and free-threaded CPython as experimental, non-blocking test legs (#1660) - #1725
Merged
Conversation
…n-blocking test legs (#1660) - python-versions.toml: an `experimental` tier, listed last in its table: free-threaded "3.14t" and a GraalPy table with "graalpy-25.4", spelt as setup-python's python-version reads them. - python_versions.py: load() takes the tier for those two builds only, and refuses them any other tier until they have a wheel, a conda build and a Compat leg; `test` gains one leg each with `experimental: true`, and no other output (integration, Compat, parity, engines, wheels, conda) moves. - unit-tests.yml: the legs are named `Python <version> (experimental)` and never block, by the KTLO mechanics: the step guard holds on both tiers, annotations are warnings, and an `Experimental summary` step reports each failed step. No Compat leg is experimental, so none is a required context. Their setup-python, install and test steps are capped at 5, 10 and 25 minutes, so a slow leg fails a step instead of being cancelled at the job's 45; every other leg's caps are 360, so its job cap binds as before. - ci_timing.py: a step cap written as an expression reads as none. - update_python_versions.py: experimental entries are hand-maintained; every recompute keeps their lines as written, after the computed versions, and the proposal fingerprint leaves them out. - workflows.rst: the tiers section, the step caps and the `test` leg count; unit-tests.yml line citations there and in releasing.rst follow the lines. Tests: tests/project/test_python_versions_1660, _matrix_tiers_1633, _ktlo_legs_stay_green_1672, _python_versions_update_1660, _unit_tests_queue, _ci_timing and _release_gates pass; the new ones fail on origin/main. Part of #1660
Owner
Author
|
Verdict: GOOD TO GO at
|
Contributor
|
Coverage: 89.35% (unit tier, Python 3.15,
Per-file detail: the |
This was referenced Oct 14, 2026
Closed
Closed
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.
Please follow the guide below
You will be asked some questions, please read them carefully and answer honestly
Put an
xinto all the boxes [ ] relevant to your pull request (like that [x])Use Preview tab to see how your pull request will actually look like
Searched for similar pull requests
Followed the coding style (
make pylint,make mypy,make isort)make testpasses, and a test case covers the change. Narrow runs only, listed below.Added a changelog entry under
docs/source/changelog/and regeneratedCHANGELOG.md, if the change is user-visible: N/A — centralised in docs(changelog): shared 1.5.0 changelog — long-lived, merges last (#610, #616, #617, #618, #620) #657What is the purpose of your pull request?
Tick the commit type your subject line carries.
fix— corrects a defectfeat— adds a featureperf— changes performance, not behaviourrefactor— changes neither behaviour nor performancetest— tests onlydocs— documentation onlyci— workflows or build toolingrelease— bumps the version or rolls up a distributionchore— anything elseDescription of your pull request and other information
Part of #1660, the owner's option 1: GraalPy and free-threaded CPython run as experimental, non-blocking
testlegs, to be promoted only once green..github/python-versions.tomlgains anexperimentaltier with3.14tandgraalpy-25.4, spelt as setup-python v7 reads them.util/python_versions.pygives each of them onetestleg and nothing more: no integration, Compat, wheel or conda leg, and no required context.Python <version> (experimental)and run on the KTLO mechanics: the step guard, warning annotations and anExperimental summarystep.continue-on-error, instead of the 45-minute job cancel thatRequired checks passedrefuses (actions/runnerStepsRunner.cs:322-353).update_python_versions.pykeeps them as written.util/ci_timing.py: it now reads a step cap written as an expression as no cap, where it used to crash onint().workflows.rst. The line citations inworkflows.rstandreleasing.rstfollow the moved lines.main.