From b1ad5c2e30fa246000b9d7bd7bcce1ae5701ddb3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 9 Dec 2024 16:12:03 +0100 Subject: [PATCH] ci: Use Python 3.13 - Newest Linux/macOS/Windows environments (should be roughly same as release, especially for Windows/macOS) - Nightly binary builds - Release automation Closes #8205 --- .github/workflows/ci.yml | 10 +++++++--- .github/workflows/nightly.yml | 2 +- .github/workflows/release.yml | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39c28b225..c7082d7ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -189,20 +189,24 @@ jobs: - testenv: py312-pyqt67 os: ubuntu-22.04 python: "3.12" + ### PyQt 6.7 (Python 3.13, placeholder for PyQt 6.8) + - testenv: py313-pyqt67 + os: ubuntu-22.04 + python: "3.13" ### macOS Ventura - testenv: py312-pyqt67 os: macos-13 - python: "3.12" + python: "3.13" args: "tests/unit" # Only run unit tests on macOS ### macOS Sonoma (M1 runner) - testenv: py312-pyqt67 os: macos-14 - python: "3.12" + python: "3.13" args: "tests/unit" # Only run unit tests on macOS ### Windows - testenv: py312-pyqt67 os: windows-2019 - python: "3.12" + python: "3.13" runs-on: "${{ matrix.os }}" steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index aa80d52c6..a1f28d343 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -43,7 +43,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: | python -m pip install -U pip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7f9e30b0..fb2b0f589 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,13 +16,14 @@ on: python_version: description: 'Python version' required: true - default: '3.12' + default: '3.13' type: choice options: - '3.9' - '3.10' - '3.11' - '3.12' + - '3.13' jobs: prepare: runs-on: ubuntu-20.04