Skip to content

Add support for free-threaded Python versions#208

Merged
hynek merged 2 commits intohynek:mainfrom
blink1073:support-free-threading
Mar 26, 2026
Merged

Add support for free-threaded Python versions#208
hynek merged 2 commits intohynek:mainfrom
blink1073:support-free-threading

Conversation

@blink1073
Copy link
Contributor

@blink1073 blink1073 commented Mar 25, 2026

Summary

Addresses #175

Add a new include-free-threaded input that, when set to 'true', appends free-threaded Python siblings (e.g. 3.14t) inline after each matching version in the supported_python_classifiers_* outputs, for Python 3.14 and later.
The feature is entirely opt-in and has no effect on existing workflows.

The tests pass on my fork, and include tests for 3.14t and 3.15t for argon2-cffi-bindings, as expected.

From the issue description, it wasn't clear to me how to handle the presence of the Programming Language :: Python :: Free Threading trove classifier. Do you think the action should raise an error if the option is set but the trove classifier does not exist?

Background

I am adopting baipp (thanks for this package!) for a library (oct2py) that depends on numpy/scipy, and I'd like for the generated test matrix to include 3.14t.

Pull Request Check List

  • I acknowledge this project's AI policy.
  • This pull requests is not from my main branch.
  • The changes are somehow exercised by our CI workflows such that it's possible to at least visually confirm they're doing what they're supposed to do.
  • The documentation has been updated.
    • New inputs/outputs have been added to README.md.
    • Documentation in .md files is written using semantic newlines.
  • Changes have been added to CHANGELOG.md

Copy link
Owner

@hynek hynek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice thanks! that was more straightforward than I even hoped for!

@hynek hynek merged commit ed61f7f into hynek:main Mar 26, 2026
25 checks passed
@hynek
Copy link
Owner

hynek commented Mar 26, 2026

it's live in 2.16.0 and I've shoved it straight into argon2-cffi-bindings: hynek/argon2-cffi-bindings#116 :)

@blink1073
Copy link
Contributor Author

Great, thanks for the merge and release!

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.

2 participants