@@ -498,37 +498,11 @@ jobs:
498498 - uses : dtolnay/rust-toolchain@stable
499499 with :
500500 components : rust-src
501- - name : Install python3 standalone debug build with nox
502- run : |
503- PBS_RELEASE="20241219"
504- PBS_PYTHON_VERSION="3.13.1"
505- PBS_ARCHIVE="cpython-${PBS_PYTHON_VERSION}+${PBS_RELEASE}-x86_64-unknown-linux-gnu-debug-full.tar.zst"
506- wget "https://github.com/indygreg/python-build-standalone/releases/download/${PBS_RELEASE}/${PBS_ARCHIVE}"
507- tar -I zstd -xf "${PBS_ARCHIVE}"
508- ls -l $(pwd)/python/install/bin
509- ls -l $(pwd)/python/install/lib
510- echo PATH=$(pwd)/python/install/bin:$PATH >> $GITHUB_ENV
511- echo LD_LIBRARY_PATH=$(pwd)/python/install/lib:$LD_LIBRARY_PATH >> $GITHUB_ENV
512- echo PYTHONHOME=$(pwd)/python/install >> $GITHUB_ENV
513- echo PYO3_PYTHON=$(pwd)/python/install/bin/python3 >> $GITHUB_ENV
514- - run : python3 -m sysconfig
515- - run : python3 -m pip install --upgrade pip && pip install nox[uv]
516- - run : |
517- PYO3_CONFIG_FILE=$(mktemp)
518- cat > $PYO3_CONFIG_FILE << EOF
519- implementation=CPython
520- version=3.13
521- shared=true
522- abi3=false
523- lib_name=python3.13d
524- lib_dir=${{ github.workspace }}/python/install/lib
525- executable=${{ github.workspace }}/python/install/bin/python3
526- pointer_width=64
527- build_flags=Py_DEBUG,Py_REF_DEBUG
528- suppress_build_script_link_lines=false
529- EOF
530- echo PYO3_CONFIG_FILE=$PYO3_CONFIG_FILE >> $GITHUB_ENV
531- - run : python3 -m nox -s test
501+ - uses : astral-sh/setup-uv@v6
502+ with :
503+ python-version : " 3.13+debug"
504+ - run : uvx python -m sysconfig
505+ - run : uvx nox -s test
532506
533507 test-version-limits :
534508 needs : [fmt]
0 commit comments