Skip to content

Commit

Permalink
Merge pull request #711 from willkg/709-py37
Browse files Browse the repository at this point in the history
Remove support for Python 3.7 (#709)
  • Loading branch information
willkg authored Sep 18, 2023
2 parents 13d6c0c + 8f0f4f8 commit adf0d5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 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", "3.11", "pypy3.8"]
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def get_version():
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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
21 changes: 4 additions & 17 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@

[tox]
envlist =
py{37,38,39,310,311,py3}
py{37,38,39,310,311,py3}-tinycss2
py{37,38,39,310,311}-build-no-lang
py{38,39,310,311,py3}
py{38,39,310,311,py3}-tinycss2
py{38,39,310,311}-build-no-lang
py39-docs
py39-format-check
py39-lint
py39-vendorverify

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
Expand All @@ -25,12 +24,6 @@ commands =
pytest {posargs:-v}
python setup.py build

[testenv:py37-tinycss2]
deps = -rrequirements-dev.txt
extras = css
commands =
pytest {posargs:-v}

[testenv:py38-tinycss2]
deps = -rrequirements-dev.txt
extras = css
Expand Down Expand Up @@ -61,12 +54,6 @@ extras = css
commands =
pytest {posargs:-v}

[testenv:py37-build-no-lang]
setenv =
LANG=
commands =
python setup.py build

[testenv:py38-build-no-lang]
setenv =
LANG=
Expand Down Expand Up @@ -111,7 +98,7 @@ changedir = {toxinidir}
deps = -rrequirements-dev.txt
platform = linux
commands =
black --target-version=py37 --check --diff --exclude=_vendor setup.py bleach/ tests/ tests_website/
black --target-version=py38 --check --diff --exclude=_vendor setup.py bleach/ tests/ tests_website/

[testenv:py39-docs]
changedir = docs
Expand Down

0 comments on commit adf0d5b

Please sign in to comment.