From c422d922fcbf798481b84ec940ec73e756224013 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 15 Oct 2024 21:19:35 -0700 Subject: [PATCH] Upgrade CI Python versions Python 3.13 was recently released. --- .github/workflows/build-python.yml | 10 +++++++++- .github/workflows/documentation.yml | 2 +- .github/workflows/lint-format.yml | 4 ++-- .github/workflows/website.yml | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-python.yml b/.github/workflows/build-python.yml index a11757be..d6b8fc52 100644 --- a/.github/workflows/build-python.yml +++ b/.github/workflows/build-python.yml @@ -45,6 +45,10 @@ jobs: os: ubuntu-24.04 version: "3.12" cmake-env: + - name: Linux x86_64 + os: ubuntu-24.04 + version: "3.13" + cmake-env: - name: macOS universal os: macOS-14 version: "3.10" @@ -57,6 +61,10 @@ jobs: os: macOS-14 version: "3.12" cmake-env: CMAKE_OSX_ARCHITECTURES="x86_64;arm64" + - name: macOS universal + os: macOS-14 + version: "3.13" + cmake-env: CMAKE_OSX_ARCHITECTURES="x86_64;arm64" name: ${{ matrix.version }} ${{ matrix.name }} wheel runs-on: ${{ matrix.os }} @@ -109,7 +117,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - run: python3 ./tools/update_version.py - run: pip3 install build diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 8e550914..16785bf2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: 3.13 - run: pip3 install \ build \ diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 8102d5fa..a744da6b 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - run: pip3 install wpiformat==2024.42 @@ -65,7 +65,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: Install LLVM 18 run: | diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 7c4529c1..54e80a39 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: 3.13 - run: pip3 install pybind11-mkdoc - run: sudo apt-get install -y doxygen