Skip to content

Commit

Permalink
Remove Python 3.7 (EOL since EOL since 2023-06-27) from CI (graphql-p…
Browse files Browse the repository at this point in the history
…ython#1440)

* Remove Python 3.7 (EOL since EOL since 2023-06-27) from CI

* Remove unused context

* Use pyupgrade --py38-plus in pre-commit
  • Loading branch information
kiendang authored and superlevure committed Aug 9, 2023
1 parent 31172e9 commit ddda456
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- django: "2.2"
python-version: "3.11"
- django: "3.2"
python-version: "3.7"
python-version: "3.11"
- django: "4.1"
python-version: "3.11"
- django: "4.2"
Expand All @@ -35,4 +35,3 @@ jobs:
run: tox
env:
DJANGO: ${{ matrix.django }}
TOXENV: ${{ matrix.toxenv }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
rev: v3.3.2
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py38-plus]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tox]
envlist =
py{37,38,39,310}-django22,
py{37,38,39,310}-django32,
py{38,39,310}-django22,
py{38,39,310}-django32,
py{38,39,310}-django{41,42,main},
py311-django{41,42,main}
pre-commit

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
Expand Down

0 comments on commit ddda456

Please sign in to comment.