Skip to content

Add Python 3.14 support - #51

Merged
ZwFink merged 14 commits into
mainfrom
feature/py314-support
Jan 27, 2026
Merged

ZwFink merged 14 commits into
mainfrom
feature/py314-support

Conversation

@ZwFink

@ZwFink ZwFink commented Jan 27, 2026 •

Copy link
Copy Markdown
Member

Adds support for Python 3.14 while maintaining backwards compatibility with Python 3.13.

  • Update _PyInterpreterFrame struct for Python 3.14 internal changes
  • Handle tagged stackrefs in serialization/deserialization
  • Add new Python 3.14 opcodes to liveness analysis
  • Fix build configuration and imports for Python 3.14
  • Add Python 3.14 to CI test matrix

- Add conditional f_funcobj type: _PyStackRef for 3.14, PyObject* for 3.13
- Add tlbc_index field (int32_t) under Py_GIL_DISABLED for 3.14
- Add visited field (uint8_t) after owner for 3.14
- Add _Py_CODEUNIT typedef alias for _CodeUnit
- Normalize preprocessor directive indentation

Closes sauerkraut-t1u
Add matrix strategy to test both Python 3.13 and 3.14 on Linux and macOS.
Parameterize Dockerfile with PYTHON_VERSION build arg for flexible version testing.
Allow all Python version tests to run to completion even if one version
fails, providing better visibility into which versions are passing.
@ZwFink
ZwFink merged commit ea3b559 into main Jan 27, 2026
5 checks passed
@ZwFink
ZwFink deleted the feature/py314-support branch January 27, 2026 23:26
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.

1 participant