Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Python 3.7 (#709) #711

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading