Skip to content

Commit ef693f6

Browse files
authored
Test Against Python 3.11
1 parent b91acd8 commit ef693f6

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.ci/test-matrix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ PYTHON_VERSION:
1010
- "3.8"
1111
- "3.9"
1212
- "3.10"
13+
- "3.11"
1314

1415
PYTHON_CONNECTION_CLASS:
1516
- urllib3

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
python-version: [3.6, 3.7, 3.8, 3.9]
41+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
4242
experimental: [false]
4343
nox-session: [""]
4444
include:
45-
- python-version: 3.10-dev
45+
- python-version: 3.11.0-beta.3
4646
experimental: true
47-
nox-session: test-3.10
47+
nox-session: test-3.11
4848

4949
runs-on: ubuntu-latest
5050
name: test-${{ matrix.python-version }}
@@ -65,3 +65,10 @@ jobs:
6565
env:
6666
PYTHON_VERSION: ${{ matrix.python-version }}
6767
NOX_SESSION: ${{ matrix.nox-session }}
68+
# TEMPORARY for 3.11
69+
# https://github.com/aio-libs/aiohttp/issues/6600
70+
AIOHTTP_NO_EXTENSIONS: 1
71+
# https://github.com/aio-libs/frozenlist/issues/285
72+
FROZENLIST_NO_EXTENSIONS: 1
73+
# https://github.com/aio-libs/yarl/issues/680
74+
YARL_NO_EXTENSIONS: 1

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
)
3131

3232

33-
@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"])
33+
@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"])
3434
def test(session):
3535
session.install(".")
3636
session.install("-r", "dev-requirements.txt")

0 commit comments

Comments
 (0)