From d81eda293c548312a57624608f9cf67e1ea236f6 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 2 Jul 2024 10:22:30 +0800 Subject: [PATCH 1/9] Make 3.13 tests optional --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 388811d..ed61f74 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,9 @@ jobs: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + include: + - python-version: "3.13" + continue-on-error: true steps: - uses: actions/checkout@v4 From 93114c0cb8319369c34ff332c642d775ff0da0bc Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 2 Jul 2024 10:32:45 +0800 Subject: [PATCH 2/9] Move the `continue-on-error` under the steps --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed61f74..455718b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,9 +12,6 @@ jobs: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] - include: - - python-version: "3.13" - continue-on-error: true steps: - uses: actions/checkout@v4 @@ -42,3 +39,5 @@ jobs: flags: ${{ matrix.python-version }} name: Python ${{ matrix.python-version }} token: ${{ secrets.CODECOV_ORG_TOKEN }} + + continue-on-error: ${{ matrix.python-version == '3.13' }} From a0e13d98712ef7be818f33d0cd6255163167ac59 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 2 Jul 2024 10:40:14 +0800 Subject: [PATCH 3/9] Set 3.13 as experimental --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 455718b..2b41301 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,10 +8,15 @@ env: jobs: test: runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + experimental: [false] + include: + - python-version: "3.13" + experimental: true steps: - uses: actions/checkout@v4 @@ -39,5 +44,3 @@ jobs: flags: ${{ matrix.python-version }} name: Python ${{ matrix.python-version }} token: ${{ secrets.CODECOV_ORG_TOKEN }} - - continue-on-error: ${{ matrix.python-version == '3.13' }} From 499e70f51c8f987951671725d0cd185a44c68dfe Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 2 Jul 2024 10:42:20 +0800 Subject: [PATCH 4/9] Remove 3.13 from the testing matrix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b41301..cc5da21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] experimental: [false] include: - python-version: "3.13" From 2c6b8037c89ac2cfd64b9d98fa8ea45b64dece4a Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 2 Jul 2024 21:29:10 +0800 Subject: [PATCH 5/9] Try to apply the `continue-on-error` to the step --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc5da21..ddaf2c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,7 @@ jobs: python -m pip install -U tox - name: Tox tests + continue-on-error: ${{ matrix.experimental }} run: | tox -e py From 73bc163219be8461d7c6ad1ea2a0e3ebeb5c3922 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 6 Jan 2025 13:56:17 +0100 Subject: [PATCH 6/9] Remove `continue-on-error`. --- .github/workflows/test.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4294f0..2802763 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,15 +11,10 @@ env: jobs: test: runs-on: ubuntu-latest - continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - experimental: [false] - include: - - python-version: "3.14" - experimental: true + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 @@ -36,7 +31,6 @@ jobs: uses: hynek/setup-cached-uv@v2 - name: Tox tests - continue-on-error: ${{ matrix.experimental }} run: | uvx --with tox-uv tox -e py From 813fe8b8fdff1cce53b10792d98ee861e7b206f6 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 6 Jan 2025 14:09:58 +0100 Subject: [PATCH 7/9] Add 3.14 Trove classifier to pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 713dfb0..660ef86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dynamic = [ "version", From fa99f8e9f6e082fea45b240f6fa979598024395d Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 6 Jan 2025 14:10:38 +0100 Subject: [PATCH 8/9] Add 3.14 to the env_list in tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fa69718..1631d62 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ requires = tox>=4.2 env_list = - py{313, 312, 311, 310, 39} + py{314, 313, 312, 311, 310, 39} [testenv] extras = From 165ae704fb394157b9269dd0be247a9f8c9e31d9 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 6 Jan 2025 14:17:42 +0100 Subject: [PATCH 9/9] Update max_supported_python to 3.14 in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 660ef86..29e9bac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,4 +50,4 @@ version-file = "src/blurb/_version.py" local_scheme = "no-local-version" [tool.pyproject-fmt] -max_supported_python = "3.13" +max_supported_python = "3.14"