Skip to content

Commit db6d277

Browse files
authored
Python 3.11 support (#410)
1 parent f3b0f26 commit db6d277

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.8"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.8"]
1212
os: [ubuntu-latest, windows-latest]
1313
exclude:
1414
- os: windows-latest
@@ -17,6 +17,8 @@ jobs:
1717
python-version: "3.9"
1818
- os: windows-latest
1919
python-version: "3.10"
20+
- os: windows-latest
21+
python-version: "3.11"
2022
- os: windows-latest
2123
python-version: "pypy3.8"
2224

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"Programming Language :: Python :: 3.8",
9090
"Programming Language :: Python :: 3.9",
9191
"Programming Language :: Python :: 3.10",
92+
"Programming Language :: Python :: 3.11",
9293
"Programming Language :: Python :: Implementation :: PyPy",
9394
],
9495
keywords="api graphql protocol rest relay gql client",

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[tox]
22
envlist =
33
black,flake8,import-order,mypy,manifest,
4-
py{37,38,39,310,py3}
4+
py{37,38,39,310,311,py3}
55

66
[gh-actions]
77
python =
88
3.7: py37
99
3.8: py38
1010
3.9: py39
1111
3.10: py310
12+
3.11: py311
1213
pypy-3: pypy3
1314

1415
[testenv]
@@ -27,7 +28,7 @@ deps = -e.[test]
2728
commands =
2829
pip install -U setuptools
2930
; run "tox -- tests -s" to show output for debugging
30-
py{37,39,310,py3}: pytest {posargs:tests}
31+
py{37,39,310,311,py3}: pytest {posargs:tests}
3132
py{38}: pytest {posargs:tests --cov-report=term-missing --cov=gql}
3233

3334
[testenv:black]

0 commit comments

Comments
 (0)