diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4a6bd09..e16ff30c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: diff --git a/setup.py b/setup.py index 733a87ba..701d169c 100755 --- a/setup.py +++ b/setup.py @@ -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", diff --git a/tox.ini b/tox.ini index 4438219f..95de9f43 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,9 @@ [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 @@ -12,7 +12,6 @@ envlist = [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 @@ -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 @@ -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= @@ -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