mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-24 02:24:10 +03:00
Remove Python 3.7 (EOL since EOL since 2023-06-27) from CI (#1440)
* Remove Python 3.7 (EOL since EOL since 2023-06-27) from CI * Remove unused context * Use pyupgrade --py38-plus in pre-commit
This commit is contained in:
parent
5d7a04fce9
commit
5eb5fe294a
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -11,8 +11,6 @@ jobs:
|
||||||
django: ["3.2", "4.1", "4.2"]
|
django: ["3.2", "4.1", "4.2"]
|
||||||
python-version: ["3.8", "3.9", "3.10"]
|
python-version: ["3.8", "3.9", "3.10"]
|
||||||
include:
|
include:
|
||||||
- django: "3.2"
|
|
||||||
python-version: "3.7"
|
|
||||||
- django: "4.1"
|
- django: "4.1"
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
- django: "4.2"
|
- django: "4.2"
|
||||||
|
@ -31,4 +29,3 @@ jobs:
|
||||||
run: tox
|
run: tox
|
||||||
env:
|
env:
|
||||||
DJANGO: ${{ matrix.django }}
|
DJANGO: ${{ matrix.django }}
|
||||||
TOXENV: ${{ matrix.toxenv }}
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ repos:
|
||||||
rev: v3.3.2
|
rev: v3.3.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py37-plus]
|
args: [--py38-plus]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.3.0
|
rev: 23.3.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -48,7 +48,6 @@ setup(
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"Topic :: Software Development :: Libraries",
|
"Topic :: Software Development :: Libraries",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"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",
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -1,13 +1,12 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{37,38,39,310}-django32,
|
py{38,39,310}-django32,
|
||||||
py{38,39,310}-django{41,42,main},
|
py{38,39,310}-django{41,42,main},
|
||||||
py311-django{41,42,main}
|
py311-django{41,42,main}
|
||||||
pre-commit
|
pre-commit
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
3.7: py37
|
|
||||||
3.8: py38
|
3.8: py38
|
||||||
3.9: py39
|
3.9: py39
|
||||||
3.10: py310
|
3.10: py310
|
||||||
|
|
Loading…
Reference in New Issue
Block a user