From 02fcba9dc7523e22aa2672416cc0e7825f7c26a0 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Sat, 12 Aug 2023 10:17:16 +0800 Subject: [PATCH 1/2] CI: python 3.12-dev --- .github/workflows/tests.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0fdcb62b..c7da5e9b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"] os: [ubuntu-latest, macos-latest] env: diff --git a/setup.py b/setup.py index 15604cde..21f65364 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ from setuptools.command.sdist import sdist -CYTHON_DEPENDENCY = 'Cython(>=0.29.32,<0.30.0)' +CYTHON_DEPENDENCY = 'Cython(>=0.29.35,<0.30.0)' # Minimal dependencies required to test uvloop. TEST_DEPENDENCIES = [ From 1526309a439a032c8a49fc197e20ec6fba92c867 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Sat, 12 Aug 2023 10:20:58 +0800 Subject: [PATCH 2/2] exclude aiohttp from python 3.12 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 21f65364..c0ccfb5e 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ # pycodestyle is a dependency of flake8, but it must be frozen because # their combination breaks too often # (example breakage: https://gitlab.com/pycqa/flake8/issues/427) - 'aiohttp>=3.8.1', + 'aiohttp>=3.8.1 ; python_version < "3.12"', 'flake8~=5.0', 'psutil', 'pycodestyle~=2.9.0',