Skip to content

Commit

Permalink
Drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamalama committed Jul 31, 2023
1 parent f9da1eb commit f1651ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']

# Service containers to run with `container-job`
services:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
target-version = ['py38', 'py39', 'py310']
include = '\.pyi?$'
exclude = '''
/(
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def read(*parts):
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -48,5 +47,5 @@ def read(*parts):
"sanic": ["sanic"],
},
zip_safe=False,
python_requires=">=3.7,<4",
python_requires=">=3.8,<4",
)
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ minversion = 1.8
envlist =
py38-lint
py38-docs
py{37,38,39,310}-dj32
py{38,39,310}-dj32
py{38,39,310}-dj{40,41}
py{37,38,39,310}-fl{012,10,11,20,21,22}
py{37,38,39}-s20
py{37,38,39,310}-s{21,22}
py{38,39,310}-fl{012,10,11,20,21,22}
py{38,39}-s20
py{38,39,310}-s{21,22}

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

0 comments on commit f1651ee

Please sign in to comment.