Skip to content

Commit 9c3e945

Browse files
committed
Test against Python 3.11
1 parent 6c950e2 commit 9c3e945

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
42+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
4343
experimental: [false]
4444

4545
runs-on: ubuntu-latest
@@ -67,3 +67,10 @@ jobs:
6767
run: "nox -rs test-${PYTHON_VERSION%-dev}"
6868
env:
6969
PYTHON_VERSION: ${{ matrix.python-version }}
70+
# TEMPORARY for 3.11
71+
# https://github.com/aio-libs/aiohttp/issues/6600
72+
AIOHTTP_NO_EXTENSIONS: 1
73+
# https://github.com/aio-libs/frozenlist/issues/285
74+
FROZENLIST_NO_EXTENSIONS: 1
75+
# https://github.com/aio-libs/yarl/issues/680
76+
YARL_NO_EXTENSIONS: 1

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def lint(session):
5050
session.run("mypy", "--strict", "--show-error-codes", "elastic_transport/")
5151

5252

53-
@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"])
53+
@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"])
5454
def test(session):
5555
session.install(".[develop]")
5656
session.run(

0 commit comments

Comments
 (0)