From f04864e76129071fa597656bbf5044d3b7752934 Mon Sep 17 00:00:00 2001 From: tmontaigu Date: Tue, 8 Oct 2024 21:02:01 +0200 Subject: [PATCH] Add Python 3.13, Remove 3.8 on the CI Python3.13 got released, and 3.8 went end of life It seems like for arm64 python3.13 is not available in the CI so this will have to wait for the real release of 3.13 --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bde43e8..c195fd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] steps: - uses: actions/checkout@v1 @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] steps: - uses: actions/checkout@v1 @@ -62,7 +62,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] arch: ['x86', 'x64'] steps: @@ -103,10 +103,6 @@ jobs: matrix: target: [x86_64, aarch64] python: [ - { - version: '3.8', - PYO3_CROSS_LIB_DIR: '/opt/python/cp38-cp38/lib' - }, { version: '3.9', PYO3_CROSS_LIB_DIR: '/opt/python/cp39-cp39/lib' @@ -122,6 +118,10 @@ jobs: { version: '3.12', PYO3_CROSS_LIB_DIR: '/opt/python/cp312-cp312/lib' + }, + { + version: '3.13', + PYO3_CROSS_LIB_DIR: '/opt/python/cp313-cp313/lib' } ] steps: @@ -141,7 +141,7 @@ jobs: args: --release --out dist --interpreter python${{ matrix.python.version }} - name: Build wheels - if: matrix.target == 'aarch64' + if: matrix.target == 'aarch64' && matrix.python.version != '3.13' uses: messense/maturin-action@v1 env: PYO3_CROSS_LIB_DIR: '${{ matrix.python.PYO3_CROSS_LIB_DIR }}' @@ -166,7 +166,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python.version }} + python-version: 3.12 - name: Build sdist uses: messense/maturin-action@v1