FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

DNM: enable the experimental JIT in 3.13+ by tianon · Pull Request #1043 · docker-library/python · GitHub

DNM: enable the experimental JIT in 3.13+ - #1043

Draft
tianon wants to merge 1 commit into
docker-library:masterfrom
infosiftr:jit
Draft

DNM: enable the experimental JIT in 3.13+#1043
tianon wants to merge 1 commit into
docker-library:masterfrom
infosiftr:jit

Conversation

tianon commented May 22, 2025
edited
Loading

Copy link
Copy Markdown
Member

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 marked this pull request as draft May 22, 2025 20:48

tianon commented May 22, 2025

Copy link
Copy Markdown
Member Author

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).

tianon commented May 22, 2025

Copy link
Copy Markdown
Member Author

(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)

tianon commented May 22, 2025

Copy link
Copy Markdown
Member Author

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

tianon commented May 22, 2025

Copy link
Copy Markdown
Member Author

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

tianon commented Jun 27, 2025

Copy link
Copy Markdown
Member Author

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 😞)

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL