diff --git a/python311.spec b/python311.spec index 6858c81..255a13c 100644 --- a/python311.spec +++ b/python311.spec @@ -445,7 +445,7 @@ for dir in Lib Tools; do find $dir -name '*.py' -type f -exec sed -i '1{/^#!.*python/ d}' '{}' \; done # We shortened the file Lib/pdb.py so we have to move the test breakpoint location -sed -i -e '/Breakpoint 3 at ...pdb.py:94/s/94/93/' Lib/test/test_pdb.py +sed -i -e '/Breakpoint 3 at ...pdb.py:97/s/97/96/' Lib/test/test_pdb.py %endif # drop in-tree libffi and expat @@ -558,6 +558,12 @@ if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then ulimit -v 11000000 || : fi +# test_freeze_simple_script in test.test_tools.test_freeze.TestFreeze +# uses CONFIG_ARGS to run ./configure. +export CONFIG_ARGS="--enable-ipv6 --enable-shared --with-ensurepip=no \ + --with-system-ffi --with-system-expat --with-lto --enable-optimizations \ + --with-system-libmpdec --enable-loadable-sqlite-extensions" + export PYTHONPATH="$(pwd -P)/Lib" # Use timeout, like make target buildbottest # We cannot run tests parallel, because osc build environment doesn’t