mirror of https://github.com/MagicStack/uvloop.git
Test and build on Python 3.11
Python 3.11 release candidate is out, so it's time.
This commit is contained in:
parent
ada43c06b8
commit
fc69ad151c
|
@ -75,7 +75,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*"]
|
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
|
||||||
cibw_arch: ["x86_64", "aarch64", "universal2"]
|
cibw_arch: ["x86_64", "aarch64", "universal2"]
|
||||||
exclude:
|
exclude:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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]
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
6
setup.py
6
setup.py
|
@ -21,14 +21,16 @@ from setuptools.command.build_ext import build_ext
|
||||||
from setuptools.command.sdist import sdist
|
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.
|
# Minimal dependencies required to test uvloop.
|
||||||
TEST_DEPENDENCIES = [
|
TEST_DEPENDENCIES = [
|
||||||
# pycodestyle is a dependency of flake8, but it must be frozen because
|
# pycodestyle is a dependency of flake8, but it must be frozen because
|
||||||
# their combination breaks too often
|
# their combination breaks too often
|
||||||
# (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
|
# (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',
|
'flake8~=3.9.2',
|
||||||
'psutil',
|
'psutil',
|
||||||
'pycodestyle~=2.7.0',
|
'pycodestyle~=2.7.0',
|
||||||
|
|
Loading…
Reference in New Issue