From 17d3a37635bad3902c4e913a48d969cbebfb08c3 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 10 Oct 2024 20:44:22 -0700 Subject: [PATCH] third-party test: Update Python versions (#484) Drop 3.8. One of them (pyanalyze) already dropped support for 3.8, and likely others will follow soon. I'd like to wait a bit to drop support in typing-extensions itself, but I'm no longer interested in how 3.8 works in third-party packages. Also add 3.12 and 3.13 for all of them. If any don't work, I'll drop them again. --- .github/workflows/third_party.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index b5d65903..7987f74e 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -44,7 +44,7 @@ jobs: # PyPy is deliberately omitted here, # since pydantic's tests intermittently segfault on PyPy, # and it's nothing to do with typing_extensions - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -89,7 +89,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -137,7 +137,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + # 3.13 support is pending + python-version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -186,7 +187,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -218,6 +219,7 @@ jobs: - name: Run typeguard tests run: | cd typeguard + export PYTHON_COLORS=0 # A test fails if tracebacks are colorized pytest typed-argument-parser: @@ -235,7 +237,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + # 3.13 support: https://github.com/swansonk14/typed-argument-parser/issues/150 + python-version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -290,7 +293,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -340,7 +343,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + # skip 3.13 because msgspec doesn't support 3.13 yet + python-version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ubuntu-latest timeout-minutes: 60 steps: