Skip to content

Commit cf1ee7b

Browse files
committed
Support Python 3.13 and bump version number
1 parent 967d58d commit cf1ee7b

File tree

10 files changed

+21
-18
lines changed

10 files changed

+21
-18
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.2.4
2+
current_version = 3.2.5
33
commit = False
44
tag = False
55

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111

12-
- name: Set up Python 3.11
12+
- name: Set up Python 3.12
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.11
15+
python-version: 3.12
1616

1717
- name: Install dependencies
1818
run: |

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Set up Python 3.11
15+
- name: Set up Python 3.12
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.11
18+
python-version: 3.12
1919

2020
- name: Build wheel and source tarball
2121
run: |

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
11+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10']
1212

1313
steps:
1414
- uses: actions/checkout@v4

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ a query language for APIs created by Facebook.
1010
![Lint Status](https://github.com/graphql-python/graphql-core/actions/workflows/lint.yml/badge.svg)
1111
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
1212

13-
The current version 3.2.4 of GraphQL-core is up-to-date with GraphQL.js version 16.8.2.
13+
The current version 3.2.5 of GraphQL-core is up-to-date with GraphQL.js version 16.8.2.
1414

1515
An extensive test suite with over 2300 unit tests and 100% coverage comprises a
1616
replication of the complete test suite of GraphQL.js, making sure this port is

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# The short X.Y version.
6262
# version = '3.2'
6363
# The full version, including alpha/beta/rc tags.
64-
version = release = "3.2.4"
64+
version = release = "3.2.5"
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "graphql-core"
3-
version = "3.2.4"
3+
version = "3.2.5"
44
description = """
55
GraphQL-core is a Python port of GraphQL.js,\
66
the JavaScript reference implementation for GraphQL."""
@@ -24,7 +24,8 @@ classifiers = [
2424
"Programming Language :: Python :: 3.9",
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
27-
"Programming Language :: Python :: 3.12"
27+
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13"
2829
]
2930
packages = [
3031
{ include = "graphql", from = "src" },

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"Programming Language :: Python :: 3.10",
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
3738
],
3839
install_requires=[
3940
"typing-extensions>=4,<5; python_version < '3.10'",

src/graphql/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
__all__ = ["version", "version_info", "version_js", "version_info_js"]
55

66

7-
version = "3.2.4"
7+
version = "3.2.5"
88

99
version_js = "16.8.2"
1010

tox.ini

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{6,7,8,9,10,11,12}, pypy3{9,10}, black, flake8, mypy, docs, manifest
2+
envlist = py3{6,7,8,9,10,11,12,13}, pypy3{9,10}, black, flake8, mypy, docs, manifest
33
isolated_build = true
44

55
[gh-actions]
@@ -12,40 +12,41 @@ python =
1212
3.10: py310
1313
3.11: py311
1414
3.12: py312
15+
3.13: py313
1516
pypy3: pypy39
1617
pypy3.9: pypy39
1718
pypy3.10: pypy310
1819

1920
[testenv:black]
20-
basepython = python3.11
21+
basepython = python3.12
2122
deps = black==24.8.0
2223
commands =
2324
black src tests setup.py -t py311 --check
2425

2526
[testenv:flake8]
26-
basepython = python3.11
27+
basepython = python3.12
2728
deps = flake8>=7,<8
2829
commands =
2930
flake8 src tests setup.py
3031

3132
[testenv:mypy]
32-
basepython = python3.11
33+
basepython = python3.12
3334
deps =
3435
mypy>=1.11,<2
3536
pytest>=8.3,<9
3637
commands =
3738
mypy src tests
3839

3940
[testenv:docs]
40-
basepython = python3.11
41+
basepython = python3.12
4142
deps =
4243
sphinx>=7,<8
4344
sphinx_rtd_theme>=2.0,<3
4445
commands =
4546
sphinx-build -b html -nEW docs docs/_build/html
4647

4748
[testenv:manifest]
48-
basepython = python3.11
49+
basepython = python3.12
4950
deps = check-manifest>=0.49,<1
5051
commands =
5152
check-manifest -v
@@ -62,5 +63,5 @@ deps =
6263
commands =
6364
# to also run the time-consuming tests: tox -e py311 -- --run-slow
6465
# to run the benchmarks: tox -e py311 -- -k benchmarks --benchmark-enable
65-
py3{6,7,8,9,10,11}, pypy3{9,10}: pytest tests {posargs}
66+
py3{6,7,8,9,10,11,13}, pypy3{9,10}: pytest tests {posargs}
6667
py312: pytest tests {posargs: --cov-report=term-missing --cov=graphql --cov=tests --cov-fail-under=100}

0 commit comments

Comments
 (0)