Compile with the JIT

Open
#1,009 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
dockerfile, python

Research direction

Start by reviewing the Python 3.13+ image build configuration and how build options are passed. Check the existing Docker build steps for installing and removing LLVM, then verify that the resulting image supports enabling JIT with PYTHON_JIT while leaving it disabled by default.

Written by the indexing model from the issue text.

Description

For 3.13 and above the experimental JIT could be activated in the build but disabled by default. Adding --enable-experimental-jit=yes-off carries minimal risk and allows end-users to activate JIT support with the $PYTHON_JIT environment variable. Mostly creating this for tracking purposes.

This looks to be relatively low risk but would require installing LLVM during the compile. Shouldn't increase the resulting image size as it can be removed before the end of the build step.

Dominant language
Dockerfile
Stars
2.8k
Forks
1.1k
Avg merge
3d 1h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker-library/python

All issues in docker-library/python

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.