Skip to content

Commit adf0d5b

Browse files
authored
Merge pull request #711 from willkg/709-py37
Remove support for Python 3.7 (#709)
2 parents 13d6c0c + 8f0f4f8 commit adf0d5b

File tree

3 files changed

+5
-19
lines changed

3 files changed

+5
-19
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.8"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8"]
1313
os: [ubuntu-latest, macos-latest, windows-latest]
1414

1515
steps:

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def get_version():
6363
"Programming Language :: Python",
6464
"Programming Language :: Python :: 3 :: Only",
6565
"Programming Language :: Python :: 3",
66-
"Programming Language :: Python :: 3.7",
6766
"Programming Language :: Python :: 3.8",
6867
"Programming Language :: Python :: 3.9",
6968
"Programming Language :: Python :: 3.10",

tox.ini

+4-17
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22

33
[tox]
44
envlist =
5-
py{37,38,39,310,311,py3}
6-
py{37,38,39,310,311,py3}-tinycss2
7-
py{37,38,39,310,311}-build-no-lang
5+
py{38,39,310,311,py3}
6+
py{38,39,310,311,py3}-tinycss2
7+
py{38,39,310,311}-build-no-lang
88
py39-docs
99
py39-format-check
1010
py39-lint
1111
py39-vendorverify
1212

1313
[gh-actions]
1414
python =
15-
3.7: py37
1615
3.8: py38
1716
3.9: py39
1817
3.10: py310
@@ -25,12 +24,6 @@ commands =
2524
pytest {posargs:-v}
2625
python setup.py build
2726

28-
[testenv:py37-tinycss2]
29-
deps = -rrequirements-dev.txt
30-
extras = css
31-
commands =
32-
pytest {posargs:-v}
33-
3427
[testenv:py38-tinycss2]
3528
deps = -rrequirements-dev.txt
3629
extras = css
@@ -61,12 +54,6 @@ extras = css
6154
commands =
6255
pytest {posargs:-v}
6356

64-
[testenv:py37-build-no-lang]
65-
setenv =
66-
LANG=
67-
commands =
68-
python setup.py build
69-
7057
[testenv:py38-build-no-lang]
7158
setenv =
7259
LANG=
@@ -111,7 +98,7 @@ changedir = {toxinidir}
11198
deps = -rrequirements-dev.txt
11299
platform = linux
113100
commands =
114-
black --target-version=py37 --check --diff --exclude=_vendor setup.py bleach/ tests/ tests_website/
101+
black --target-version=py38 --check --diff --exclude=_vendor setup.py bleach/ tests/ tests_website/
115102

116103
[testenv:py39-docs]
117104
changedir = docs

0 commit comments

Comments
 (0)