From 77a594277e56b5081ff9c42f003c0a648ff7fe34 Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Fri, 11 Oct 2024 20:04:25 +0200 Subject: [PATCH] Build for and test on Python 3.13 in CI, and update other CI and RTD Python versions --- .github/workflows/ci.yml | 31 +++++++++++++++++++------------ .github/workflows/wheels.yml | 4 ++-- .readthedocs.yml | 2 +- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01621f39..d0c1b6ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,10 +31,13 @@ jobs: - runs-on: ubuntu-latest python: '3.11' arch: x64 + - runs-on: ubuntu-latest + python: '3.12' + arch: x64 run-praat-tests: true name-extra: ' (with Praat tests)' - runs-on: ubuntu-latest - python: '3.12' + python: '3.13' arch: x64 run-praat-tests: true name-extra: ' (with Praat tests)' @@ -53,18 +56,18 @@ jobs: name-extra: ' (with Praat tests)' - runs-on: ubuntu-24.04 - python: '3.11' + python: '3.12' arch: x64 gcc: 13 name-extra: ' (GCC 13)' - runs-on: ubuntu-24.04 - python: '3.11' + python: '3.12' arch: x64 clang: 18 name-extra: ' (Clang 18)' - runs-on: ubuntu-latest - python: '3.11' + python: '3.12' arch: x64 release: true name-extra: ' (Release)' @@ -73,15 +76,17 @@ jobs: python: '3.8' arch: x64 - runs-on: macos-latest - python: '3.11' + python: '3.12' arch: x64 run-praat-tests: true name-extra: ' (with Praat tests)' - runs-on: macos-latest - python: '3.12' + python: '3.13' arch: x64 + run-praat-tests: true + name-extra: ' (with Praat tests)' - runs-on: macos-latest - python: '3.11' + python: '3.12' arch: x64 release: true name-extra: ' (Release)' @@ -93,23 +98,25 @@ jobs: python: '3.8' arch: x64 - runs-on: windows-latest - python: '3.11' + python: '3.12' arch: x64 run-praat-tests: true name-extra: ' (with Praat tests)' - runs-on: windows-latest - python: '3.12' + python: '3.13' arch: x64 + run-praat-tests: true + name-extra: ' (with Praat tests)' - runs-on: windows-latest python: '3.8' arch: x86 name-extra: ' (32-bit)' - runs-on: windows-latest - python: '3.11' + python: '3.12' arch: x86 name-extra: ' (32-bit)' - runs-on: windows-latest - python: '3.11' + python: '3.12' arch: x64 release: true name-extra: ' (Release)' @@ -221,7 +228,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Setup CMake uses: jwlawson/actions-setup-cmake@v2.0 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index e6eac98b..1f38585c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -126,7 +126,7 @@ jobs: if: startsWith(github.ref_name, 'docs') shell: bash run: | - echo "CIBW_BUILD=cp311-manylinux_x86_64" >> $GITHUB_ENV + echo "CIBW_BUILD=cp312-manylinux_x86_64" >> $GITHUB_ENV - name: Run cibuildwheel if: startsWith(github.ref_name, 'docs') != true || matrix.cibw-arch == 'manylinux_x86_64' @@ -151,7 +151,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: rtd-wheel - path: wheelhouse/praat_parselmouth-*-cp311-cp311-*manylinux2014_x86_64*.whl + path: wheelhouse/praat_parselmouth-*-cp312-cp312-*manylinux2014_x86_64*.whl if-no-files-found: error trigger_rtd: diff --git a/.readthedocs.yml b/.readthedocs.yml index f3db1a8a..b459baa7 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,7 +3,7 @@ formats: all build: os: ubuntu-20.04 tools: - python: '3.11' + python: '3.12' sphinx: configuration: docs/conf.py python: