summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2022-12-09 11:51:33 -0500
committerGitHub <noreply@github.com>2022-12-09 11:51:33 -0500
commit4dab9a7436357173fad08a0f4e67a63daaaa15a6 (patch)
tree7b660eb66c6eaa060f3c144993a65ddf479e60a1
parenta8ad6fc8ba687736145b5dff3b0c53839d07ef1e (diff)
downloadpython-markdown-4dab9a7436357173fad08a0f4e67a63daaaa15a6.tar.gz
Officially support Python 3.11 (#1313)
Python 3.11 was released 2023-10-02.
-rw-r--r--.github/workflows/tox.yml4
-rw-r--r--docs/change_log/index.md1
-rwxr-xr-xsetup.py1
-rw-r--r--tox.ini3
4 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml
index e2004ad..275ab38 100644
--- a/.github/workflows/tox.yml
+++ b/.github/workflows/tox.yml
@@ -20,7 +20,7 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
- tox-env: [py37, py38, py39, py310, pypy37, pypy38, pypy39, pygments]
+ tox-env: [py37, py38, py39, py310, py311, pypy37, pypy38, pypy39, pygments]
include:
- tox-env: py37
python-version: '3.7'
@@ -30,6 +30,8 @@ jobs:
python-version: '3.9'
- tox-env: py310
python-version: '3.10'
+ - tox-env: py311
+ python-version: '3.11'
- tox-env: pypy37
python-version: pypy-3.7
- tox-env: pypy38
diff --git a/docs/change_log/index.md b/docs/change_log/index.md
index 34ca9fe..6d7e252 100644
--- a/docs/change_log/index.md
+++ b/docs/change_log/index.md
@@ -7,6 +7,7 @@ Python-Markdown Change Log
* Improve standalone * and _ parsing (#1300).
* Consider `<html>` HTML tag a block-level element (#1309).
+* Officially support for Python 3.11.
July 15, 2022: version 3.4.1 (a bug-fix release).
diff --git a/setup.py b/setup.py
index c6eb6af..2a659d1 100755
--- a/setup.py
+++ b/setup.py
@@ -117,6 +117,7 @@ setup(
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
diff --git a/tox.ini b/tox.ini
index 0c76754..4ad8f36 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{37, 38, 39, 310}, pypy{37, 38, 39}, pygments, flake8, checkspelling, pep517check, checklinks
+envlist = py{37, 38, 39, 310, 311}, pypy{37, 38, 39}, pygments, flake8, checkspelling, pep517check, checklinks
isolated_build = True
[testenv]
@@ -24,6 +24,7 @@ commands = flake8 {toxinidir}/markdown {toxinidir}/tests {toxinidir}/setup.py
skip_install = true
[testenv:checkspelling]
+allowlist_externals = {toxinidir}/checkspelling.sh
deps =
mkdocs
mkdocs_nature