diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e4c19e610e..18837e8d055 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -498,37 +498,11 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: components: rust-src - - name: Install python3 standalone debug build with nox - run: | - PBS_RELEASE="20241219" - PBS_PYTHON_VERSION="3.13.1" - PBS_ARCHIVE="cpython-${PBS_PYTHON_VERSION}+${PBS_RELEASE}-x86_64-unknown-linux-gnu-debug-full.tar.zst" - wget "https://github.com/indygreg/python-build-standalone/releases/download/${PBS_RELEASE}/${PBS_ARCHIVE}" - tar -I zstd -xf "${PBS_ARCHIVE}" - ls -l $(pwd)/python/install/bin - ls -l $(pwd)/python/install/lib - echo PATH=$(pwd)/python/install/bin:$PATH >> $GITHUB_ENV - echo LD_LIBRARY_PATH=$(pwd)/python/install/lib:$LD_LIBRARY_PATH >> $GITHUB_ENV - echo PYTHONHOME=$(pwd)/python/install >> $GITHUB_ENV - echo PYO3_PYTHON=$(pwd)/python/install/bin/python3 >> $GITHUB_ENV - - run: python3 -m sysconfig - - run: python3 -m pip install --upgrade pip && pip install nox[uv] - - run: | - PYO3_CONFIG_FILE=$(mktemp) - cat > $PYO3_CONFIG_FILE << EOF - implementation=CPython - version=3.13 - shared=true - abi3=false - lib_name=python3.13d - lib_dir=${{ github.workspace }}/python/install/lib - executable=${{ github.workspace }}/python/install/bin/python3 - pointer_width=64 - build_flags=Py_DEBUG,Py_REF_DEBUG - suppress_build_script_link_lines=false - EOF - echo PYO3_CONFIG_FILE=$PYO3_CONFIG_FILE >> $GITHUB_ENV - - run: python3 -m nox -s test + - uses: astral-sh/setup-uv@v6 + with: + python-version: "3.13+debug" + - run: uvx python -m sysconfig + - run: uvx nox -s test test-version-limits: needs: [fmt]