Skip to content

Commit 614449e

Browse files
authored
Python 3.12 (#1550)
* python 3.12 * update classifiers
1 parent 44dcdad commit 614449e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
include:
28+
- {name: '3.12', python: '3.12', os: ubuntu-latest, tox: py312}
2829
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
2930
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
3031
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ When we send a **Query** requesting only one **Field**, ``hello``, and specify a
5959
Requirements
6060
~~~~~~~~~~~~
6161

62-
- Python (3.8, 3.9, 3.10, 3.11, pypy)
62+
- Python (3.8, 3.9, 3.10, 3.11, 3.12, pypy)
6363
- Graphene (3.0)
6464

6565
Project setup

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def run_tests(self):
7777
"Programming Language :: Python :: 3.9",
7878
"Programming Language :: Python :: 3.10",
7979
"Programming Language :: Python :: 3.11",
80+
"Programming Language :: Python :: 3.12",
8081
],
8182
keywords="api graphql protocol rest relay graphene",
8283
packages=find_packages(exclude=["examples*"]),

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{8,9,10,11}, mypy, pre-commit
2+
envlist = py3{8,9,10,11,12}, mypy, pre-commit
33
skipsdist = true
44

55
[testenv]
@@ -8,7 +8,7 @@ deps =
88
setenv =
99
PYTHONPATH = .:{envdir}
1010
commands =
11-
py{38,39,310,311}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
11+
py{38,39,310,311,12}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
1212

1313
[testenv:pre-commit]
1414
basepython = python3.10

0 commit comments

Comments
 (0)