From 04bdf81f371a9cd01797237b37a7080ffc517d59 Mon Sep 17 00:00:00 2001 From: Ahmed TAHRI Date: Thu, 14 Nov 2024 07:32:48 +0100 Subject: [PATCH] :heavy_check_mark: start testing on Python 3.14 --- .github/workflows/ci.yml | 15 ++++++++------- noxfile.py | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e00889afeb..6dd7618f7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,27 +52,30 @@ jobs: include: - experimental: false traefik-server: true + - experimental: true + python-version: "3.14" + os: ubuntu-22.04 - python-version: "pypy-3.7" - os: ubuntu-latest + os: ubuntu-22.04 experimental: false nox-session: test-pypy - python-version: "pypy-3.8" - os: ubuntu-latest + os: ubuntu-22.04 experimental: false nox-session: test-pypy traefik-server: true - python-version: "pypy-3.9-v7.3.13" # urllib3#3308 - os: ubuntu-latest + os: ubuntu-22.04 experimental: false nox-session: test-pypy traefik-server: true - python-version: "pypy-3.10" - os: ubuntu-latest + os: ubuntu-22.04 experimental: false nox-session: test-pypy traefik-server: true - python-version: "3.x" - os: ubuntu-latest + os: ubuntu-22.04 experimental: false nox-session: test_brotlipy # Test CPython with a broken hostname_checks_common_name (the fix is in 3.9.3) @@ -85,8 +88,6 @@ jobs: # https://github.com/python/cpython/issues/83001 - python-version: "3.7" os: ubuntu-22.04 - - python-version: "3.7" - os: macos-13 - python-version: "3.8" os: ubuntu-22.04 diff --git a/noxfile.py b/noxfile.py index 5c25d23b10..42356d8207 100644 --- a/noxfile.py +++ b/noxfile.py @@ -263,12 +263,12 @@ def tests_impl( ) -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy"]) +@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy"]) def test(session: nox.Session) -> None: tests_impl(session) -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]) +@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]) def tracemalloc(session: nox.Session) -> None: tests_impl(session, tracemalloc_enable=True)