Skip to content

feat: support PEP 803, free-threaded tag#1269

Merged
henryiii merged 6 commits intomainfrom
henryiii/feat/ft-abi
May 2, 2026
Merged

feat: support PEP 803, free-threaded tag#1269
henryiii merged 6 commits intomainfrom
henryiii/feat/ft-abi

Conversation

@henryiii
Copy link
Copy Markdown
Collaborator

@henryiii henryiii commented Apr 22, 2026

Support should come out in CMake 4.4, see https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11955.

Fix #1252.

🤖 Assisted-by: Copilot:Kimi-K2.6

@henryiii henryiii force-pushed the henryiii/feat/ft-abi branch from b660b75 to e5d7824 Compare April 22, 2026 16:29
Comment thread docs/configuration/index.md Outdated
Comment thread src/scikit_build_core/builder/builder.py Outdated
Comment thread src/scikit_build_core/builder/builder.py Outdated
Comment thread src/scikit_build_core/builder/builder.py Outdated
Comment thread src/scikit_build_core/builder/sysconfig.py
Comment thread src/scikit_build_core/builder/builder.py
Comment thread src/scikit_build_core/builder/builder.py
Comment thread src/scikit_build_core/builder/wheel_tag.py Outdated
Comment thread tests/test_builder.py Outdated
@henryiii henryiii force-pushed the henryiii/feat/ft-abi branch from a9dfb66 to 0728003 Compare April 23, 2026 18:53
@henryiii henryiii force-pushed the henryiii/feat/ft-abi branch from 75e5f98 to 2a1838a Compare April 30, 2026 21:34
henryiii added 6 commits May 1, 2026 01:05
Support should come out in CMake 4.4

Assisted-by: Copilot:Kimi-K2.6
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
- Add `_PyTag` helper class to `wheel_tag.py` to make the
  complex `all()` ABI tag checks readable; refactor `compute_best`
  to use it
- Restructure the `limited_api` block in `builder.py`: move the
  `cp3*t` branch inside the `cp3` check, add a warning when the
  free-threaded stable ABI is requested but conditions aren't met,
  and move the classic-on-free-threaded warning into the inner branch
- Promote the inline `VersionInfo` test helper to module level in
  `tests/test_builder.py` and add a `from_str()` classmethod

Assisted-by: Copilot:claude-sonnet-4.6
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Assisted-by: Copilot:GPT-5.4
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Assisted-by: Copilot:claude-sonnet-4.6
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@henryiii henryiii force-pushed the henryiii/feat/ft-abi branch from 2a1838a to 22a8361 Compare May 1, 2026 05:05
@henryiii henryiii merged commit 08301ca into main May 2, 2026
65 checks passed
@henryiii henryiii deleted the henryiii/feat/ft-abi branch May 2, 2026 01:14
@ngoldbaum
Copy link
Copy Markdown

Thanks for working on this!

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.

Explore support for abi3t ABI tag

3 participants