Skip to content

Commit ddda456

Browse files
kiendangsuperlevure
authored andcommitted
Remove Python 3.7 (EOL since EOL since 2023-06-27) from CI (graphql-python#1440)
* Remove Python 3.7 (EOL since EOL since 2023-06-27) from CI * Remove unused context * Use pyupgrade --py38-plus in pre-commit
1 parent 31172e9 commit ddda456

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- django: "2.2"
1717
python-version: "3.11"
1818
- django: "3.2"
19-
python-version: "3.7"
19+
python-version: "3.11"
2020
- django: "4.1"
2121
python-version: "3.11"
2222
- django: "4.2"
@@ -35,4 +35,3 @@ jobs:
3535
run: tox
3636
env:
3737
DJANGO: ${{ matrix.django }}
38-
TOXENV: ${{ matrix.toxenv }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
rev: v3.3.2
2020
hooks:
2121
- id: pyupgrade
22-
args: [--py37-plus]
22+
args: [--py38-plus]
2323
- repo: https://github.com/psf/black
2424
rev: 23.3.0
2525
hooks:

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"Intended Audience :: Developers",
4949
"Topic :: Software Development :: Libraries",
5050
"Programming Language :: Python :: 3",
51-
"Programming Language :: Python :: 3.7",
5251
"Programming Language :: Python :: 3.8",
5352
"Programming Language :: Python :: 3.9",
5453
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310}-django22,
4-
py{37,38,39,310}-django32,
3+
py{38,39,310}-django22,
4+
py{38,39,310}-django32,
55
py{38,39,310}-django{41,42,main},
66
py311-django{41,42,main}
77
pre-commit
88

99
[gh-actions]
1010
python =
11-
3.7: py37
1211
3.8: py38
1312
3.9: py39
1413
3.10: py310

0 commit comments

Comments
 (0)