diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c29581d2b1..93f7ce410a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -579,8 +579,8 @@ jobs: components: rust-src - name: Install python3 standalone debug build with nox run: | - PBS_RELEASE="20241219" - PBS_PYTHON_VERSION="3.13.1" + PBS_RELEASE="20260211" + PBS_PYTHON_VERSION="3.14.3" 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}" @@ -596,10 +596,54 @@ jobs: PYO3_CONFIG_FILE=$(mktemp) cat > $PYO3_CONFIG_FILE << EOF implementation=CPython - version=3.13 + version=3.14 shared=true abi3=false - lib_name=python3.13d + lib_name=python3.14d + 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 + + test-debug-min-version: + if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || github.event_name != 'pull_request' }} + needs: [fmt] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6.0.2 + - uses: Swatinem/rust-cache@v2 + with: + save-if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'CI-save-pr-cache') }} + - uses: dtolnay/rust-toolchain@stable + with: + components: rust-src + - name: Install python3 standalone debug build with nox + run: | + PBS_RELEASE="20260211" + PBS_PYTHON_VERSION="3.10.19" + 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.10 + shared=true + abi3=false + lib_name=python3.10d lib_dir=${{ github.workspace }}/python/install/lib executable=${{ github.workspace }}/python/install/bin/python3 pointer_width=64