diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a2081a0..909c6f6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.8"] + python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9"] os: [ubuntu-latest, macos-latest, windows-latest] steps: diff --git a/CHANGES b/CHANGES index b5633619..528e7bd2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,21 @@ Bleach changes ============== +Version 6.2.0 (in development) +------------------------------ +**Backwards incompatible changes** + +* Dropped support for Python 3.8. (#737) + +**Security fixes** + +None + +**Bug fixes** + +None + + Version 6.1.0 (October 6th, 2023) --------------------------------- diff --git a/Makefile b/Makefile index b2c8abeb..bf9045d3 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ docs: ## Build docs .PHONY: lint lint: ## Lint files - tox exec -e py39-format-check -- black --target-version=py38 --exclude=_vendor setup.py bleach/ tests/ tests_website/ + tox exec -e py39-format-check -- black --target-version=py39 --exclude=_vendor setup.py bleach/ tests/ tests_website/ tox -e py39-lint tox -e py39-format-check diff --git a/requirements-dev.txt b/requirements-dev.txt index ea398dd7..669f1fe8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,4 +10,4 @@ tox-gh-actions==3.2.0 twine==5.1.1 wheel==0.43.0 -Sphinx==7.4.4; python_version > "3.8" +Sphinx==7.4.4 diff --git a/setup.py b/setup.py index 2c075254..35cb6cb4 100755 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ def get_version(): include_package_data=True, package_data={"": ["README.rst"]}, zip_safe=False, - python_requires=">=3.8", + python_requires=">=3.9", install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, classifiers=[ @@ -63,7 +63,6 @@ def get_version(): "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/tox.ini b/tox.ini index 5c409331..e6c4bc25 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,9 @@ [tox] envlist = - py{38,39,310,311,312,py3} - py{38,39,310,311,312,py3}-tinycss2 - py{38,39,310,311,312}-build-no-lang + py{39,310,311,312,py3} + py{39,310,311,312,py3}-tinycss2 + py{39,310,311,312}-build-no-lang py39-docs py39-format-check py39-lint @@ -12,12 +12,11 @@ envlist = [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 - pypy-3.8: pypy3 + pypy-3.9: pypy3 [testenv] deps = -rrequirements-dev.txt @@ -25,12 +24,6 @@ commands = pytest {posargs:-v} python setup.py build -[testenv:py38-tinycss2] -deps = -rrequirements-dev.txt -extras = css -commands = - pytest {posargs:-v} - [testenv:py39-tinycss2] deps = -rrequirements-dev.txt extras = css @@ -61,12 +54,6 @@ extras = css commands = pytest {posargs:-v} -[testenv:py38-build-no-lang] -setenv = - LANG= -commands = - python setup.py build - [testenv:py39-build-no-lang] setenv = LANG=