Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.13 #519

Merged
merged 2 commits into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]
os: [ubuntu-24.04, windows-latest]
exclude:
- os: windows-latest
@@ -22,6 +22,8 @@ jobs:
python-version: "3.11"
- os: windows-latest
python-version: "3.12"
- os: windows-latest
python-version: "3.13"
- os: windows-latest
python-version: "pypy3.10"

1 change: 0 additions & 1 deletion docs/code_examples/fastapi_async.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@

from fastapi import FastAPI, HTTPException
from fastapi.responses import HTMLResponse

from gql import Client, gql
from gql.transport.aiohttp import AIOHTTPTransport

1 change: 0 additions & 1 deletion docs/code_examples/httpx_async_trio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import trio

from gql import Client, gql
from gql.transport.httpx import HTTPXAsyncTransport

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -91,6 +91,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="api graphql protocol rest relay gql client",
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
black,flake8,import-order,mypy,manifest,
py{38,39,310,311,312,py3}
py{38,39,310,311,312,313,py3}

[gh-actions]
python =
@@ -10,6 +10,7 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy-3: pypy3

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

[testenv:black]