Test and build on Python 3.11

Python 3.11 release candidate is out, so it's time.
This commit is contained in:
Elvis Pranskevichus 2022-08-13 15:10:28 -07:00
parent ada43c06b8
commit fc69ad151c
No known key found for this signature in database
GPG Key ID: 5036323AA98A9CEC
3 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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:

View File

@ -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',