Skip to content

Commit

Permalink
chore: drop support for python 3.6 (#236)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Temporarily pin back bleach to get tests passing

Co-authored-by: Dustin Ingram <[email protected]>
  • Loading branch information
miketheman and di authored Apr 19, 2022
1 parent 88b786f commit e38dc06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,16 @@
"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",
"Programming Language :: Python :: 3.10",
"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",
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit e38dc06

Please sign in to comment.