Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 22 additions & 21 deletions .github/workflows/third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# This helps us spot regressions early,
# and helps flag when third-party libraries are making incorrect assumptions
# that might cause them to break when we cut a new release.
#
# Note that we don't run PyPy tests for any third-party library currently,
# even though several run their tests on PyPY in their own CI. We used to,
# but they proved too flaky: #321, #351, #463

name: Third-party tests

Expand All @@ -20,7 +24,8 @@ permissions:

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
FORCE_COLOR: 1
# various tests fail on third-party libraries if color is enabled :(
PYTHON_COLORS: 0

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -44,11 +49,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# PyPy is deliberately omitted here,
# since pydantic's tests intermittently segfault on PyPy,
# and it's nothing to do with typing_extensions
# Tests on 3.14 don't pass as of 2 November 2025
python-version: ["3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -86,7 +87,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -126,7 +127,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
# as of 2026-11-29, several tests fail on Python 3.15
python-version: ["3.11", "3.12", "3.13", "3.14"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -166,7 +168,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand All @@ -187,8 +189,6 @@ jobs:
- name: Remove uv version requirement
run: uv run --no-project --python '>=3.11' typing-extensions-latest/scripts/remove_uv_version_requirement.py typeguard
- name: Run tests with typing_extensions main branch
env:
PYTHON_COLORS: 0 # A test fails if tracebacks are colorized
working-directory: typeguard
run: |
set -x
Expand All @@ -208,8 +208,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# 3.14 fails some tests as of 2 November 2025
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -256,8 +255,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# 3.14 fails a test as of 2 November 2025
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand All @@ -267,6 +265,12 @@ jobs:
# renovate: datasource=github-release-attachments depName=astral-sh/uv
version: "0.13.6"
checksum: "f29c3e94ffabd7e6f3ba521dba169a9b7ec12100bf3257087f0f24f6123f3645"
# We can't just rely on uv's Python here: Python-Build-Standalone builds do not
# include the stdlib's `test` module, and mypyc's tests import `test.support` on
# Python 3.14+
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Checkout mypy for stubtest and mypyc tests
run: git clone --depth=1 https://github.com/python/mypy.git || git clone --depth=1 https://github.com/python/mypy.git
Expand Down Expand Up @@ -298,7 +302,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -336,9 +340,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# PyPy is deliberately omitted here, since SQLAlchemy's tests
# fail on PyPy for reasons unrelated to typing_extensions.
python-version: [ "3.11", "3.12", "3.13", "3.14" ]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
checkout-ref: [ "main", "rel_2_0" ]
# sqlalchemy tests fail when using the Ubuntu 24.04 runner
# https://github.com/sqlalchemy/sqlalchemy/commit/8d73205f352e68c6603e90494494ef21027ec68f
Expand Down Expand Up @@ -379,8 +381,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# As of 2 November 2025 a dependency is missing 3.14 wheels
python-version: [ "3.11", "3.12", "3.13" ]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
steps:
- name: Install uv
uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
Expand Down
Loading