Skip to content

Commit

Permalink
Add Python 3.13, Remove 3.8 on the CI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tmontaigu committed Oct 8, 2024
1 parent 6dac6dc commit 1c959bc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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'
Expand All @@ -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:
Expand All @@ -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 }}'
Expand All @@ -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
Expand Down

0 comments on commit 1c959bc

Please sign in to comment.