python 3.12

This commit is contained in:
Dulmandakh 2024-05-18 13:28:24 +08:00
parent 221afaf4c4
commit 233533628e
3 changed files with 4 additions and 3 deletions

View File

@ -25,6 +25,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: 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.11', python: '3.11', os: ubuntu-latest, tox: py311}
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310} - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39} - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}

View File

@ -59,7 +59,7 @@ When we send a **Query** requesting only one **Field**, ``hello``, and specify a
Requirements 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) - Graphene (3.0)
Project setup Project setup

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py3{8,9,10,11}, mypy, pre-commit envlist = py3{8,9,10,11,12}, mypy, pre-commit
skipsdist = true skipsdist = true
[testenv] [testenv]
@ -8,7 +8,7 @@ deps =
setenv = setenv =
PYTHONPATH = .:{envdir} PYTHONPATH = .:{envdir}
commands = 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] [testenv:pre-commit]
basepython = python3.10 basepython = python3.10