From 9b6b3ec7393e20734e82e01e2d801a86766b2844 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Thu, 8 Aug 2024 21:16:10 -0400 Subject: [PATCH 1/2] Test Python 3.13 on CI As this is being integrated, Python 3.13 is no longer a release candidate, but this marks it experimental since that might also be used temporarily to prevent some of the failures mentioned in #1955 from failing the workflow. But right now this allows the workflow to fail. --- .github/workflows/pythonpackage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 9225624f0..6bf03a32b 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os-type: [ubuntu, macos, windows] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] exclude: - os-type: macos python-version: "3.7" @@ -23,6 +23,8 @@ jobs: python-version: "3.7" os-ver: "22.04" - experimental: false + - python-version: "3.13" + experimental: true fail-fast: false From 65ff35f9fe031e9eb009a8a2a93045c5a59b402f Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Thu, 2 Jan 2025 08:25:58 -0500 Subject: [PATCH 2/2] Set job-level continue-on-error for Python 3.13 on Windows It is specifically that combination that breaks some things. The underlying cause is a change in `isabs` to correctly report that paths on Windows that start with `\` that is not part of a construction such as `\\?\` are not absolute paths. (See #1955 and links therein.) The change to `isabs` starts in 3.13, and it is only applicable to Windows, so only that combination is affected. --- .github/workflows/pythonpackage.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 6bf03a32b..611a8c38e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -23,13 +23,16 @@ jobs: python-version: "3.7" os-ver: "22.04" - experimental: false - - python-version: "3.13" + - os-type: windows + python-version: "3.13" experimental: true fail-fast: false runs-on: ${{ matrix.os-type }}-${{ matrix.os-ver }} + continue-on-error: ${{ matrix.experimental }} + defaults: run: shell: bash --noprofile --norc -exo pipefail {0}