Skip to content

Commit

Permalink
Python 3.12 (#1550)
Browse files Browse the repository at this point in the history
* python 3.12

* update classifiers
  • Loading branch information
dulmandakh authored Jun 13, 2024
1 parent 44dcdad commit 614449e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
fail-fast: false
matrix:
include:
- {name: '3.12', python: '3.12', os: ubuntu-latest, tox: py312}
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ When we send a **Query** requesting only one **Field**, ``hello``, and specify a
Requirements
~~~~~~~~~~~~

- Python (3.8, 3.9, 3.10, 3.11, pypy)
- Python (3.8, 3.9, 3.10, 3.11, 3.12, pypy)
- Graphene (3.0)

Project setup
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="api graphql protocol rest relay graphene",
packages=find_packages(exclude=["examples*"]),
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{8,9,10,11}, mypy, pre-commit
envlist = py3{8,9,10,11,12}, mypy, pre-commit
skipsdist = true

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

[testenv:pre-commit]
basepython = python3.10
Expand Down

0 comments on commit 614449e

Please sign in to comment.