Skip to content

Commit c7cc12a

Browse files
elpransfantix
authored andcommitted
Test and build on Python 3.11
Python 3.11 release candidate is out, so it's time.
1 parent 7e7bed8 commit c7cc12a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
strategy:
7676
matrix:
7777
os: [ubuntu-latest, macos-latest]
78-
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*"]
78+
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
7979
cibw_arch: ["x86_64", "aarch64", "universal2"]
8080
exclude:
8181
- os: ubuntu-latest

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
17+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-rc.1"]
1818
os: [ubuntu-latest, macos-latest]
1919

2020
env:

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
# pycodestyle is a dependency of flake8, but it must be frozen because
2929
# their combination breaks too often
3030
# (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
31-
'aiohttp',
31+
# aiohttp doesn't support 3.11 yet,
32+
# see https://github.com/aio-libs/aiohttp/issues/6600
33+
'aiohttp ; python_version < "3.11"',
3234
'flake8~=3.9.2',
3335
'psutil',
3436
'pycodestyle~=2.7.0',

0 commit comments

Comments
 (0)