I'm attempting to build Python 3.13.0b4 with the new experimental JIT. However supplying the configure flag breaks the build, noting that it cannot find python3. Just removing the --enable-experimental-jit is enough for it to build correctly.
Steps to reproduce the behaviour:
Grab the flake.nix from the build logs below
Note it overrides configureFlags adding "--enable-experimental-jit" and adds the required clang_18 and llvm_18 as mentioned here.
This seems to stem from this line within the configure.ac. It seems the PYTHON_FOR_REGEN is not being correctly found.
I can build 3.13.0b4 from source outside of nix with a default configuration and --enable-experimental-jit.
Supplying the build with pkgs.python313 as a buildInput or nativeBuildInputs resolves this particular issue but only leads to a rather uninformative KeyError: 6. Relevant gist here. KeyError is on line 2835.
No change on unstable.
Notify maintainers
No maintiners listed in the meta.maintainers but @mweinelt and @tjni are listed as the Python team members.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Steps To Reproduce
I'm attempting to build Python 3.13.0b4 with the new experimental JIT. However supplying the configure flag breaks the build, noting that it cannot find
python3
. Just removing the--enable-experimental-jit
is enough for it to build correctly.Steps to reproduce the behaviour:
flake.nix
from the build logs belowconfigureFlags
adding"--enable-experimental-jit"
and adds the requiredclang_18
andllvm_18
as mentioned here.nix build .#python313_JIT
with attached flakeBuild log
Here's the build log,
flake.nix
, andflake.lock
of a plainpython313
build failure when enabling the experimental JIT.Additional context
This seems to stem from this line within the
configure.ac
. It seems thePYTHON_FOR_REGEN
is not being correctly found.I can build
3.13.0b4
from source outside of nix with a default configuration and--enable-experimental-jit
.Supplying the build with
pkgs.python313
as abuildInput
ornativeBuildInputs
resolves this particular issue but only leads to a rather uninformativeKeyError: 6
. Relevant gist here.KeyError
is on line2835
.No change on unstable.
Notify maintainers
No maintiners listed in the
meta.maintainers
but @mweinelt and @tjni are listed as the Python team members.Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.