Repository navigation
ci: run the Python suite weekly on PyPy 3.11 and free-threaded CPython 3.14 - #475
Merged
Merged
Conversation
…n 3.14 (#264) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… report-only step Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first PyPy trial stopped printing at 99% and its runner was shut down before pytest printed the failure summary, so the log named no test. -rfE prints the summary as failures happen to be collected, and faulthandler_timeout prints the stack of any test still running after ten minutes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #264. Merge after #474, which makes the suite pass on PyPy; otherwise the first weekly run fails.
What it adds
A new workflow,
py--alt-interpreters.yml, runs the non-browser Python suite on PyPy 3.11 and free-threaded CPython 3.14 (3.14t). On those interpreters Citry renders through its Python render path, and their garbage collection, object identity and thread scheduling differ from standard CPython. So the per-PR matrix cannot show that Citry still works there.workflow_dispatch), never on pull requests. It adds nothing to routine CI or the release path.-m "not e2e and not qualification", without the server-reload file, with-n 4 --dist loadfile.-rfEprints the failure summary, and-o faulthandler_timeout=600prints the stack of any test still running after 10 minutes. The first PyPy trial stopped at 99% and its runner was shut down before pytest printed its summary, so the log named no test.citry_coredeclares it needs the GIL (Declare citry_core safe without the GIL (gil_used = false) #433). A second step on 3.14t runs the render, serialize, Events and thread tests withPYTHON_GIL=0. That step is report-only (continue-on-error) until Declare citry_core safe without the GIL (gil_used = false) #433 makescitry_coredeclare it is safe without the GIL.require-build-hashesneeds its build backend pinned.pkgconfig==1.6.0is added toTHIRD_PARTY_BUILD_REQUIREMENTSand the build constraints in the rootpyproject.toml.docs/codebase.mdis updated to match.Trial results
The trial ran on this branch with a temporary push trigger, which is removed in this PR. Run 40540347775:
import citry, as expected. ThePYTHON_GIL=0step gave 2682 passed, 645 skipped, with no failures, so no Python-level race showed up.The first run after merging is the real end-to-end check. Start it with
gh workflow run py--alt-interpreters.ymlonce #474 is in.Evidence
scripts/validate.pypasses, including the build-constraint and toolchain checks.uv lock --checkpasses.test_ci_workflows, the release-security policy and the toolchain validator, 29 passed. This workflow has nopull_requesttrigger, so the PR-concurrency rule does not apply to it.🤖 Generated with Claude Code