-
-
Notifications
You must be signed in to change notification settings - Fork 44
Python 3.14 with JIT #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.14 with JIT #247
Conversation
48bdda8
to
108d95a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds support for building Python 3.14 with JIT (Just-In-Time compilation) by enabling the --enable-experimental-jit
flag when a version is specified with a 'j' suffix (e.g., 3.14.0j
).
- Modified build script to detect 'j' suffix and enable JIT compilation
- Added Docker build stage for Python 3.14 JIT with LLVM 19 dependencies
- Added integration test to verify JIT functionality
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
scripts/build_python.sh | Added logic to detect 'j' suffix and configure JIT build options |
Dockerfile | Added new build stage for Python 3.14j with LLVM dependencies |
tests/test_integration.py | Added test to verify JIT availability and enablement |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This was still producing unpredictable behaviour in CI (sometimes being killed and exiting with 137/OOM kill). Disabling the memory limit ensures that the only reason this test case will kill the executing code is because of PID exhaustion.
Adds new build support for adding the
--enable-experimental-jit
flag when a version is passed with aj
suffix (e.g.3.14.0j
).