From 3e5b8676d5d746cfa7a625329c79a6de16678a00 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 26 Sep 2025 18:48:13 +0200 Subject: [PATCH 1/2] GitHub Actions: Test on Python 3.14 release candidate 3 Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 * https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#allow-pre-releases --- .github/workflows/ci.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3d9f11..45698b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,11 @@ jobs: pyright: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: + python-version: 3.x cache: pip - name: Install typing dependencies run: pip install -r requirements-typing.txt @@ -30,14 +31,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: python -m pip install --upgrade pip setuptools tox - name: Run tests with flake8 @@ -50,11 +52,11 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.13 - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - name: Set up Python + uses: actions/setup-python@v6 with: - python-version: 3.13 + python-version: 3.x - name: Install dependencies run: | python -m pip install --upgrade pip setuptools tox @@ -67,9 +69,11 @@ jobs: needs: [pyright, test] if: github.repository == 'python-trio/flake8-async' && github.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v4 - - name: Set up Python 3 - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: 3.x - name: Install tools run: python -m pip install --upgrade build pip setuptools wheel twine gitpython - name: Upload new release From 435da9c56f31c5013d0f692c3beb82d4f0dc174c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 16:48:35 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45698b8..e1cab4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: 3.x + python-version: 3.x - name: Install tools run: python -m pip install --upgrade build pip setuptools wheel twine gitpython - name: Upload new release