Skip to content

Commit

Permalink
Drop support for EOL Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and willkg committed Feb 9, 2022
1 parent f175b7c commit 90b669d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 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.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ case "${MODE}" in
tox -e docs
;;
format)
black --target-version=py36 bleach/*.py tests/ tests_website/
black --target-version=py37 bleach/*.py tests/ tests_website/
;;
format-check)
black --target-version=py36 --check --diff bleach/*.py tests/ tests_website/
black --target-version=py37 --check --diff bleach/*.py tests/ tests_website/
;;
check-reqs)
mv requirements-dev.txt requirements-dev.txt.orig
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ max-line-length = 100

[tool:pytest]
addopts = -W error:html5lib:DeprecationWarning

[wheel]
universal=1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_version():
include_package_data=True,
package_data={'': ['README.rst']},
zip_safe=False,
python_requires='>=3.6',
python_requires='>=3.7',
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -55,7 +55,7 @@ def get_version():
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down
10 changes: 2 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[tox]
envlist =
py{36,37,38,39,310,py3}
py{36,37,38,39,310}-build-no-lang
py{37,38,39,310,py3}
py{37,38,39,310}-build-no-lang
docs
format-check
lint
Expand All @@ -16,12 +16,6 @@ commands =
pytest {posargs:-v}
python setup.py build

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

[testenv:py37-build-no-lang]
setenv =
LANG=
Expand Down

0 comments on commit 90b669d

Please sign in to comment.