From 99dd1f2fed189fb26400f37fb5c7274c9d2f328d Mon Sep 17 00:00:00 2001 From: MARCHAND MANON Date: Tue, 15 Oct 2024 12:40:25 +0200 Subject: [PATCH] maint: add python 3.13 in ci --- .github/workflows/deploy.yml | 14 +++++++------- .github/workflows/test.yml | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d982961..7b7f12c6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,7 +26,7 @@ jobs: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN_FXP }} run: | source $HOME/.cargo/env - for PYBIN in /opt/python/cp3{8,9,10,11,12}-*/bin; do + for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do "${PYBIN}/pip" install --upgrade pip "${PYBIN}/pip" install maturin "${PYBIN}/maturin" publish -i "${PYBIN}/python" --skip-existing --compatibility manylinux_2_28 @@ -52,7 +52,7 @@ jobs: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN_FXP }} run: | source $HOME/.cargo/env - for PYBIN in /opt/python/cp3{8,9,10,11,12}-*/bin; do + for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do "${PYBIN}/pip" install --upgrade pip "${PYBIN}/pip" install maturin "${PYBIN}/maturin" publish -i "${PYBIN}/python" --skip-existing --compatibility manylinux2014 @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-latest # CentOS 7 32 bits Docker Hub image that 'build-linux-wheels' executes in. # See https://github.com/pypa/manylinux for this particular container: - # * CPython 3.7, 3.8, 3.9, 3.10, 3.11, and 3.12 installed in /opt/python/- + # * CPython 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 13 installed in /opt/python/- env: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN_FXP }} img: quay.io/pypa/manylinux2014_i686 @@ -81,7 +81,7 @@ jobs: ${{ env.img }} \ bash -exc 'curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ source $HOME/.cargo/env && \ - for PYBIN in /opt/python/cp3{8,9,10,11,12}-*/bin; do + for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do echo "Loop on PYBIN: $PYBIN" "${PYBIN}/pip" install --upgrade pip "${PYBIN}/pip" install maturin @@ -108,7 +108,7 @@ jobs: ${{ env.img }} \ bash -exc 'curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-host aarch64-unknown-linux-gnu -y && \ source $HOME/.cargo/env && \ - for PYBIN in /opt/python/cp3{8,9,10,11,12}-*/bin; do + for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do echo "Loop on PYBIN: $PYBIN" "${PYBIN}/pip" install maturin "${PYBIN}/maturin" -V @@ -124,7 +124,7 @@ jobs: fail-fast: false matrix: os: [windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11','3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11','3.12', '3.13'] steps: # Checkout the project - uses: actions/checkout@v4 @@ -158,7 +158,7 @@ jobs: fail-fast: false matrix: os: [macOS-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: # Checkout the project - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15f1efdf..7e6f9e43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: - name: "Build and test wheels" run: | source $HOME/.cargo/env - for PYBIN in /opt/python/cp3{8,9,10,11,12}-*/bin; do + for PYBIN in /opt/python/cp3{8,9,10,11,12,13}-*/bin; do echo "Loop on PYBIN: $PYBIN" # With maturin develop, we have to use virtualenv "${PYBIN}/pip" install virtualenv @@ -50,7 +50,7 @@ jobs: runs-on: macOS-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: # Checkout the project - name: "Checkout branch ${{ github.head_ref }}" @@ -87,7 +87,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: # Checkout the project - name: "Checkout branch ${{ github.head_ref }}"