Skip to content

Jules - fix builds and tests with free-threaded python.#4913

Merged
julian-smith-artifex-com merged 6 commits intomainfrom
jules
Feb 20, 2026
Merged

Jules - fix builds and tests with free-threaded python.#4913
julian-smith-artifex-com merged 6 commits intomainfrom
jules

Conversation

@julian-smith-artifex-com
Copy link
Collaborator

We now create correct wheel names, such as pymupdf-1.27.1-cp314-cp314t-linux_x86_64.whl.

…env.

We need to delete any existing test_3493_venv, because things go wrong if
python version changes.
We need to set abi tag to cp314t or similar.

Also fail if py_limited_api and Py_GIL_DISABLED are both set - this is not
supported by current python.
We need to strip out `The global interpreter lock (GIL) has been enabled ...`
message.
Return codes from python are slightly different because of extra warning.
@julian-smith-artifex-com julian-smith-artifex-com marked this pull request as ready for review February 20, 2026 17:10
@julian-smith-artifex-com julian-smith-artifex-com merged commit 3346b73 into main Feb 20, 2026
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants