Remove Python 3.7 (#1543)

* CI: add Python 3.12

* dd

* remove python 3.12
This commit is contained in:
Dulmandakh 2024-05-16 16:17:26 +08:00 committed by GitHub
parent 82d0a68a81
commit 5db1af039f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 7 deletions

View File

@ -29,7 +29,6 @@ jobs:
- {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}
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38} - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5

View File

@ -141,7 +141,7 @@ file:
.. code:: sh .. code:: sh
tox -e py36 tox -e py10
Tox can only use whatever versions of Python are installed on your Tox can only use whatever versions of Python are installed on your
system. When you create a pull request, Travis will also be running the system. When you create a pull request, Travis will also be running the

View File

@ -59,7 +59,7 @@ When we send a **Query** requesting only one **Field**, ``hello``, and specify a
Requirements Requirements
~~~~~~~~~~~~ ~~~~~~~~~~~~
- Python (3.6, 3.7, 3.8, 3.9, 3.10, pypy) - Python (3.8, 3.9, 3.10, 3.11, pypy)
- Graphene (3.0) - Graphene (3.0)
Project setup Project setup

View File

@ -73,11 +73,10 @@ setup(
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
], ],
keywords="api graphql protocol rest relay graphene", keywords="api graphql protocol rest relay graphene",
packages=find_packages(exclude=["examples*"]), packages=find_packages(exclude=["examples*"]),

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py3{7,8,9,10,11}, mypy, pre-commit envlist = py3{8,9,10,11}, mypy, pre-commit
skipsdist = true skipsdist = true
[testenv] [testenv]
@ -8,7 +8,7 @@ deps =
setenv = setenv =
PYTHONPATH = .:{envdir} PYTHONPATH = .:{envdir}
commands = commands =
py{37,38,39,310,311}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs} py{38,39,310,311}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
[testenv:pre-commit] [testenv:pre-commit]
basepython = python3.10 basepython = python3.10