Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DNM: enable the experimental JIT in 3.13+ #1043

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

Draft
tianon wants to merge 1 commit into docker-library:master
base: master
Choose a base branch
Loading
from infosiftr:jit

Conversation

@tianon
Copy link
Member

@tianon tianon commented May 22, 2025
edited
Loading

This is for testing, not for merging.

See:

Test it with something like:

$ docker build --pull https://github.com/docker-library/python.git#refs/pull/1043/merge:3.13/slim-trixie

@tianon tianon marked this pull request as draft May 22, 2025 20:48
Copy link
Member Author

tianon commented May 22, 2025

Oof, there's a lot to unpack with this one.

That is going to be really limiting in our ability to enable this (for example, LLVM 18 isn't even available in Debian stable - it's currently in testing, but I don't know if it'll survive to release of trixie).

Copy link
Member Author

tianon commented May 22, 2025

(and to head it off: compiling LLVM from source is very much out-of-the-question unless/until upstream decides this feature is part of a standard recommended install and should be enabled for ~everyone)

yosifkit reacted with thumbs up emoji

Copy link
Member Author

tianon commented May 22, 2025

Rebased on #1042, applied more hacks; at least the slim-trixie builds here should succeed.

Copy link
Member Author

tianon commented May 22, 2025

(unsurprisingly, it looks like Alpine is unsupported: build.py: error: argument target: invalid get_target value: 'x86_64-pc-linux-musl')

Copy link
Member Author

tianon commented Jun 27, 2025

In the spirit of https://bsky.app/profile/savannah.dev/post/3lskscidafk2e slash https://docs.python.org/3.14/whatsnew/3.14.html#binary-releases-for-the-experimental-just-in-time-compiler, I have updated this to use yes-off, which is clearly considered semi-officially OK for released binaries (as the Windows and macOS official releases are now built with it). Hopefully that's true of 3.13 as well. 🙈

We do still need to resolve the LLVM version issue ... somehow.
(I really wish https://apt.llvm.org/ included releases, not just nightlies 😞)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /