From 3e34e05d2f2dc0a43eed8eead6dec54104adaf66 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Mon, 5 Aug 2024 23:26:13 +0200 Subject: [PATCH] add python 3.13 to pipeline Change-Id: Id223cfa08b187c2225ea7a6c29817d79474acfc1 --- .github/workflows/create-wheels.yaml | 8 ++++---- .github/workflows/run-test.yaml | 17 +++++++++-------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index b92b43b0bb..1b4e534598 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -20,9 +20,9 @@ jobs: matrix: # emulated wheels on linux take too much time, split wheels into multiple runs python: - - "cp38-*" - - "cp39-* cp310-*" - - "cp311-* cp312-*" + - "cp38-* cp39-*" + - "cp310-* cp311-*" + - "cp312-* cp313-*" wheel_mode: - compiled os: @@ -84,7 +84,7 @@ jobs: - name: Set up Python for twine and pure-python wheel uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Build pure-python wheel if: ${{ matrix.wheel_mode == 'pure-python' && runner.os == 'Linux' }} diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index edb1589141..5e2b696e3e 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -36,6 +36,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13.0-alpha - 3.13" - "pypy-3.10" build-type: - "cext" @@ -124,6 +125,7 @@ jobs: - cp310-cp310 - cp311-cp311 - cp312-cp312 + - cp313-cp313 build-type: - "cext" - "nocext" @@ -164,19 +166,18 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" + - "3.13.0-alpha - 3.13" tox-env: - mypy - - lint - pep484 - exclude: - # run lint only on 3.11 - - tox-env: lint - python-version: "3.8" - - tox-env: lint - python-version: "3.9" + include: + # run lint only on 3.12 - tox-env: lint - python-version: "3.10" + python-version: "3.12" + os: "ubuntu-latest" + exclude: # run pep484 only on 3.10+ - tox-env: pep484 python-version: "3.8" -- 2.47.3