Skip to content

Commit 5eb5fe2

Browse files
authored
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
1 parent 5d7a04f commit 5eb5fe2

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
django: ["3.2", "4.1", "4.2"]
1212
python-version: ["3.8", "3.9", "3.10"]
1313
include:
14-
- django: "3.2"
15-
python-version: "3.7"
1614
- django: "4.1"
1715
python-version: "3.11"
1816
- django: "4.2"
@@ -31,4 +29,3 @@ jobs:
3129
run: tox
3230
env:
3331
DJANGO: ${{ matrix.django }}
34-
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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310}-django32,
3+
py{38,39,310}-django32,
44
py{38,39,310}-django{41,42,main},
55
py311-django{41,42,main}
66
pre-commit
77

88
[gh-actions]
99
python =
10-
3.7: py37
1110
3.8: py38
1211
3.9: py39
1312
3.10: py310

0 commit comments

Comments
 (0)