Skip to content

Commit d1e40ed

Browse files
committed
Drop support for Python 3.8 (#737)
1 parent 4bc1bff commit d1e40ed

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
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.8", "3.9", "3.10", "3.11", "3.12", "pypy3.8"]
12+
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9"]
1313
os: [ubuntu-latest, macos-latest, windows-latest]
1414

1515
steps:

CHANGES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
Bleach changes
22
==============
33

4+
Version 6.2.0 (in development)
5+
------------------------------
6+
**Backwards incompatible changes**
7+
8+
* Dropped support for Python 3.8. (#737)
9+
10+
**Security fixes**
11+
12+
None
13+
14+
**Bug fixes**
15+
16+
None
17+
18+
419
Version 6.1.0 (October 6th, 2023)
520
---------------------------------
621

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ docs: ## Build docs
1616

1717
.PHONY: lint
1818
lint: ## Lint files
19-
tox exec -e py39-format-check -- black --target-version=py38 --exclude=_vendor setup.py bleach/ tests/ tests_website/
19+
tox exec -e py39-format-check -- black --target-version=py39 --exclude=_vendor setup.py bleach/ tests/ tests_website/
2020
tox -e py39-lint
2121
tox -e py39-format-check
2222

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tox-gh-actions==3.2.0
1010
twine==5.1.1
1111
wheel==0.43.0
1212

13-
Sphinx==7.4.4; python_version > "3.8"
13+
Sphinx==7.4.4

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_version():
5151
include_package_data=True,
5252
package_data={"": ["README.rst"]},
5353
zip_safe=False,
54-
python_requires=">=3.8",
54+
python_requires=">=3.9",
5555
install_requires=INSTALL_REQUIRES,
5656
extras_require=EXTRAS_REQUIRE,
5757
classifiers=[
@@ -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.8",
6766
"Programming Language :: Python :: 3.9",
6867
"Programming Language :: Python :: 3.10",
6968
"Programming Language :: Python :: 3.11",

tox.ini

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,28 @@
22

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

1313
[gh-actions]
1414
python =
15-
3.8: py38
1615
3.9: py39
1716
3.10: py310
1817
3.11: py311
1918
3.12: py312
20-
pypy-3.8: pypy3
19+
pypy-3.9: pypy3
2120

2221
[testenv]
2322
deps = -rrequirements-dev.txt
2423
commands =
2524
pytest {posargs:-v}
2625
python setup.py build
2726

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

64-
[testenv:py38-build-no-lang]
65-
setenv =
66-
LANG=
67-
commands =
68-
python setup.py build
69-
7057
[testenv:py39-build-no-lang]
7158
setenv =
7259
LANG=

0 commit comments

Comments
 (0)