From e38dc067d658f0c6ee5b4f13d50ad72f9b478d40 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Tue, 19 Apr 2022 13:10:11 -0400 Subject: [PATCH] chore: drop support for python 3.6 (#236) * chore: drop support for python 3.6 It's been EOL since 23 Dec 2021 and is now no longer passing tests. If someone does still use this library with python 3.6, they will need to pin the `bleach` dependency to 4.1.0 and `readme_renderer` 34.0 Signed-off-by: Mike Fiedler * Temporarily pin back bleach to get tests passing Co-authored-by: Dustin Ingram --- .github/workflows/ci.yml | 2 +- setup.py | 5 ++--- tox.ini | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ea6e68..cda83a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["pypy-3.7", "3.7", "3.8", "3.9", "3.10"] steps: - name: Check out repository uses: actions/checkout@v2 diff --git a/setup.py b/setup.py index ca30f43..56a4d79 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,6 @@ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -56,9 +55,9 @@ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ], - install_requires=["bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"], + install_requires=["bleach>=2.1.0,<5.0", "docutils>=0.13.1", "Pygments>=2.5.1"], include_package_data=True, extras_require={"md": "cmarkgfm>=0.8.0"}, packages=setuptools.find_packages(exclude=["tests", "tests.*"]), - python_requires=">=3.6", + python_requires=">=3.7", ) diff --git a/tox.ini b/tox.ini index 679716a..0e79d08 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py38,py39,py310,pep8,packaging,noextra,mypy +envlist = py37,py38,py39,py310,pep8,packaging,noextra,mypy isolated_build = True [testenv]