From 8d34f03b854d6e8b666e4f4ba2bd75d437f3a1b5 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 8 Oct 2024 12:27:08 -0600 Subject: [PATCH 1/2] Add python version 3.13 support --- .github/workflows/test-suite.yml | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index bca945449..80817291f 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -14,7 +14,7 @@ jobs: timeout-minutes: 30 strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] os: [windows-latest, ubuntu-latest, macos-latest] steps: - uses: "actions/checkout@v4" diff --git a/pyproject.toml b/pyproject.toml index 840ada3a8..7e1b4ab7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", @@ -41,7 +42,8 @@ standard = [ "httptools>=0.5.0", "python-dotenv>=0.13", "PyYAML>=5.1", - "uvloop>=0.14.0,!=0.15.0,!=0.15.1; sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", + "uvloop>=0.14.0,!=0.15.0,!=0.15.1; python_version < '3.13' and sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", + "uvloop>=0.21.0b1; python_version >= '3.13' and sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", "watchfiles>=0.13", "websockets>=10.4", ] From 5255f036ac533494075d3efd68091f32f914e3d3 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Tue, 15 Oct 2024 16:49:23 +0200 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7e1b4ab7d..17ee643c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,8 +42,7 @@ standard = [ "httptools>=0.5.0", "python-dotenv>=0.13", "PyYAML>=5.1", - "uvloop>=0.14.0,!=0.15.0,!=0.15.1; python_version < '3.13' and sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", - "uvloop>=0.21.0b1; python_version >= '3.13' and sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", + "uvloop>=0.14.0,!=0.15.0,!=0.15.1; sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')", "watchfiles>=0.13", "websockets>=10.4", ]