Skip to content

Commit cd071da

Browse files
authored
Support Python 3.13 (#519)
1 parent 212e2e1 commit cd071da

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
14-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"]
14+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]
1515
os: [ubuntu-24.04, windows-latest]
1616
exclude:
1717
- os: windows-latest
@@ -22,6 +22,8 @@ jobs:
2222
python-version: "3.11"
2323
- os: windows-latest
2424
python-version: "3.12"
25+
- os: windows-latest
26+
python-version: "3.13"
2527
- os: windows-latest
2628
python-version: "pypy3.10"
2729

docs/code_examples/fastapi_async.py

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
from fastapi import FastAPI, HTTPException
1212
from fastapi.responses import HTMLResponse
13-
1413
from gql import Client, gql
1514
from gql.transport.aiohttp import AIOHTTPTransport
1615

docs/code_examples/httpx_async_trio.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import trio
2-
32
from gql import Client, gql
43
from gql.transport.httpx import HTTPXAsyncTransport
54

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"Programming Language :: Python :: 3.10",
9292
"Programming Language :: Python :: 3.11",
9393
"Programming Language :: Python :: 3.12",
94+
"Programming Language :: Python :: 3.13",
9495
"Programming Language :: Python :: Implementation :: PyPy",
9596
],
9697
keywords="api graphql protocol rest relay gql client",

tox.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
black,flake8,import-order,mypy,manifest,
4-
py{38,39,310,311,312,py3}
4+
py{38,39,310,311,312,313,py3}
55

66
[gh-actions]
77
python =
@@ -10,6 +10,7 @@ python =
1010
3.10: py310
1111
3.11: py311
1212
3.12: py312
13+
3.13: py313
1314
pypy-3: pypy3
1415

1516
[testenv]
@@ -28,7 +29,7 @@ deps = -e.[test]
2829
commands =
2930
pip install -U setuptools
3031
; run "tox -- tests -s" to show output for debugging
31-
py{39,310,311,312,py3}: pytest {posargs:tests}
32+
py{39,310,311,312,313,py3}: pytest {posargs:tests}
3233
py{38}: pytest {posargs:tests --cov-report=term-missing --cov=gql}
3334

3435
[testenv:black]

0 commit comments

Comments
 (0)