Skip to content

Add support for Python 3.14#819

Open
czardoz wants to merge 5 commits into
benfred:masterfrom
czardoz:py314
Open

Add support for Python 3.14#819
czardoz wants to merge 5 commits into
benfred:masterfrom
czardoz:py314

Conversation

@czardoz

@czardoz czardoz commented Dec 19, 2025

Copy link
Copy Markdown

Summary of changes

Had to jump through some hoops (hand-held by Claude & Codex).

generate_bindings.py + v3_14_0.rs:

  • Suppressed unnecessary_transmutes warnings because bindgen generates conservative transmute calls that Rust 1.91+ flags.

python_interpreters.rs:

python_data_access.rs:

python_threading.rs:

  • Added fallback to sysdict for thread name lookup because Python 3.14 can fail to import threading module into main sys.modules in some cases.

stack_trace.rs:

tests/subprocesses.py:

tests/integration_test.rs:

  • Added error message to test_recursive assertion for debugging line number issues.

@czardoz

czardoz commented Jan 1, 2026

Copy link
Copy Markdown
Author

@benfred - any chance you can have a look next year? Thanks! 🙂

@eliasbenb

Copy link
Copy Markdown

Also encountering errors with 3.14. Thank you for this PR, working great on my end.

@czardoz

czardoz commented Jan 23, 2026

Copy link
Copy Markdown
Author

@benfred Any chance you could approve the CI run? That way, I can fix failures (if any).

@EarthBounder

Copy link
Copy Markdown

Worked great for me. Thank you very much! :)

@manjutapali

Copy link
Copy Markdown

Hi @benfred,
Could you please consider to approve the CI runs and taking look at this PR?

@alexchandel

Copy link
Copy Markdown

@benfred Could this be merged? 3.15 will have a profiling module, so this PR is desparately needed to bridge the gap in 3.14.

@weixlu

weixlu commented Mar 9, 2026

Copy link
Copy Markdown

worked for me on py3.14.2(free-threading). Thaaaaaanks !

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.

6 participants