diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35d7510..967c9ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*"] + cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"] cibw_arch: ["x86_64", "aarch64", "universal2"] exclude: - os: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 61adc21..76e82e0 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"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-rc.1"] os: [ubuntu-latest, macos-latest] env: diff --git a/setup.py b/setup.py index 336085c..8425962 100644 --- a/setup.py +++ b/setup.py @@ -21,14 +21,16 @@ from setuptools.command.build_ext import build_ext from setuptools.command.sdist import sdist -CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<0.30.0)' +CYTHON_DEPENDENCY = 'Cython(>=0.29.32,<0.30.0)' # Minimal dependencies required to test uvloop. TEST_DEPENDENCIES = [ # 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', + # aiohttp doesn't support 3.11 yet, + # see https://github.com/aio-libs/aiohttp/issues/6600 + 'aiohttp ; python_version < "3.11"', 'flake8~=3.9.2', 'psutil', 'pycodestyle~=2.7.0',