summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-10-06 13:23:32 -0400
committerGitHub <noreply@github.com>2020-10-06 13:23:32 -0400
commitf4b936b4125719a6bcc7c7859e08b2da720892de (patch)
tree2b98e14f3ece5e4b3ad39c29749ce5d00973700d
parent2e0962ef1412b0cd566331954aff82711ce93acf (diff)
downloadpython-markdown-f4b936b4125719a6bcc7c7859e08b2da720892de.tar.gz
Add PY39 support and drop PY35 (#1026)
Python 3.5 reached end-of-life on 2020-09-12 and Python 3.9 was released on 2020-10-05.
-rw-r--r--.github/workflows/tox.yml11
-rw-r--r--docs/change_log/release-3.3.md5
-rwxr-xr-xsetup.py4
-rw-r--r--tox.ini4
4 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml
index 2439378..cd1ffb5 100644
--- a/.github/workflows/tox.yml
+++ b/.github/workflows/tox.yml
@@ -20,16 +20,16 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
- tox-env: [py35, py36, py37, py38, pypy3, pygments]
+ tox-env: [py36, py37, py38, py39, pypy3, pygments]
include:
- - tox-env: py35
- python-version: 3.5
- tox-env: py36
python-version: 3.6
- tox-env: py37
python-version: 3.7
- tox-env: py38
python-version: 3.8
+ - tox-env: py39
+ python-version: 3.9
- tox-env: pypy3
python-version: pypy3
- tox-env: pygments
@@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -76,7 +76,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Python
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Setup Node
@@ -91,4 +91,3 @@ jobs:
if [[ "$TOXENV" == 'checkspelling' ]]; then sudo apt-get install aspell aspell-en; fi
- name: Run tox
run: python -m tox
-
diff --git a/docs/change_log/release-3.3.md b/docs/change_log/release-3.3.md
index cf4cce5..79e22b2 100644
--- a/docs/change_log/release-3.3.md
+++ b/docs/change_log/release-3.3.md
@@ -2,8 +2,7 @@ title: Release Notes for v3.3
# Python-Markdown 3.3 Release Notes
-Python-Markdown version 3.3 supports Python versions 3.5, 3.6, 3.7, 3.8, and
-PyPy3.
+Python-Markdown version 3.3 supports Python versions 3.6, 3.7, 3.8, 3.9 and PyPy3.
## Backwards-incompatible changes
@@ -88,6 +87,8 @@ The following new features have been included in the 3.3 release:
`markdown.extensions.headerid.slugify_unicode` to the `slugify` configuration option
to use the new behavior.
+* Support was added for Python 3.9 and dropped for Python 3.5.
+
## Bug fixes
The following bug fixes are included in the 3.3 release:
diff --git a/setup.py b/setup.py
index 1f478ca..2e0ce18 100755
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,7 @@ setup(
maintainer_email='waylan.limberg@icloud.com',
license='BSD License',
packages=['markdown', 'markdown.extensions'],
- python_requires='>=3.5',
+ python_requires='>=3.6',
install_requires=["importlib-metadata;python_version<'3.8'"],
extras_require={
'testing': [
@@ -114,10 +114,10 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
diff --git a/tox.ini b/tox.ini
index f518c05..a36c7ee 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,11 @@
[tox]
-envlist = py35, py36, py37, py38, pypy3, pygments, flake8, checkspelling, pep517check, checklinks
+envlist = py36, py37, py38, py39, pypy3, pygments, flake8, checkspelling, pep517check, checklinks
isolated_build = True
[testenv]
extras = testing
deps = pytidylib
-commands =
+commands =
coverage run --source=markdown -m unittest discover {toxinidir}/tests
coverage xml
coverage report --show-missing