From 5db1af039f1b45ba72c530e2d966a3f0c32cb55c Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Thu, 16 May 2024 16:17:26 +0800 Subject: [PATCH] Remove Python 3.7 (#1543) * CI: add Python 3.12 * dd * remove python 3.12 --- .github/workflows/tests.yml | 1 - README.rst | 2 +- docs/quickstart.rst | 2 +- setup.py | 3 +-- tox.ini | 4 ++-- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a835f024..76a72c45 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,6 @@ jobs: - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310} - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39} - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38} - - {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37} steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/README.rst b/README.rst index 405a8f44..6b26404f 100644 --- a/README.rst +++ b/README.rst @@ -141,7 +141,7 @@ file: .. code:: sh - tox -e py36 + tox -e py10 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 diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 75f201c9..e06b12bb 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -59,7 +59,7 @@ When we send a **Query** requesting only one **Field**, ``hello``, and specify a 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) Project setup diff --git a/setup.py b/setup.py index 681ef38e..51c3ae5c 100644 --- a/setup.py +++ b/setup.py @@ -73,11 +73,10 @@ setup( "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], keywords="api graphql protocol rest relay graphene", packages=find_packages(exclude=["examples*"]), diff --git a/tox.ini b/tox.ini index 872d528c..2b245f28 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{7,8,9,10,11}, mypy, pre-commit +envlist = py3{8,9,10,11}, mypy, pre-commit skipsdist = true [testenv] @@ -8,7 +8,7 @@ deps = setenv = PYTHONPATH = .:{envdir} 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] basepython = python3.10