Skip to content

Conversation

jb3
Copy link
Member

@jb3 jb3 commented Oct 11, 2025

Adds new build support for adding the --enable-experimental-jit flag when a version is passed with a j suffix (e.g. 3.14.0j).

@jb3 jb3 force-pushed the jb3/3.14-jit branch 4 times, most recently from 48bdda8 to 108d95a Compare October 11, 2025 01:56
@coveralls
Copy link

coveralls commented Oct 11, 2025

Coverage Status

coverage: 88.265%. remained the same
when pulling 28c95c8 on jb3/3.14-jit
into ad17dac on main.

@jb3 jb3 marked this pull request as ready for review October 11, 2025 02:41
@jb3 jb3 requested review from Den4200 and MarkKoz as code owners October 11, 2025 02:41
@jb3 jb3 requested a review from Copilot October 11, 2025 21:14
Copy link

@Copilot Copilot AI left a 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.

jb3 added 2 commits October 14, 2025 00:08
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.
@jb3 jb3 merged commit 28c95c8 into main Oct 14, 2025
6 of 7 checks passed
@jb3 jb3 deleted the jb3/3.14-jit branch October 14, 2025 02:10
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.

3 participants