Skip to content

Commit 4dab9a7

Browse files
authored
Officially support Python 3.11 (#1313)
Python 3.11 was released 2023-10-02.
1 parent a8ad6fc commit 4dab9a7

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/tox.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
max-parallel: 4
2222
matrix:
23-
tox-env: [py37, py38, py39, py310, pypy37, pypy38, pypy39, pygments]
23+
tox-env: [py37, py38, py39, py310, py311, pypy37, pypy38, pypy39, pygments]
2424
include:
2525
- tox-env: py37
2626
python-version: '3.7'
@@ -30,6 +30,8 @@ jobs:
3030
python-version: '3.9'
3131
- tox-env: py310
3232
python-version: '3.10'
33+
- tox-env: py311
34+
python-version: '3.11'
3335
- tox-env: pypy37
3436
python-version: pypy-3.7
3537
- tox-env: pypy38

docs/change_log/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Python-Markdown Change Log
77

88
* Improve standalone * and _ parsing (#1300).
99
* Consider `<html>` HTML tag a block-level element (#1309).
10+
* Officially support for Python 3.11.
1011

1112
July 15, 2022: version 3.4.1 (a bug-fix release).
1213

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def get_version():
117117
'Programming Language :: Python :: 3.8',
118118
'Programming Language :: Python :: 3.9',
119119
'Programming Language :: Python :: 3.10',
120+
'Programming Language :: Python :: 3.11',
120121
'Programming Language :: Python :: 3 :: Only',
121122
'Programming Language :: Python :: Implementation :: CPython',
122123
'Programming Language :: Python :: Implementation :: PyPy',

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37, 38, 39, 310}, pypy{37, 38, 39}, pygments, flake8, checkspelling, pep517check, checklinks
2+
envlist = py{37, 38, 39, 310, 311}, pypy{37, 38, 39}, pygments, flake8, checkspelling, pep517check, checklinks
33
isolated_build = True
44

55
[testenv]
@@ -24,6 +24,7 @@ commands = flake8 {toxinidir}/markdown {toxinidir}/tests {toxinidir}/setup.py
2424
skip_install = true
2525

2626
[testenv:checkspelling]
27+
allowlist_externals = {toxinidir}/checkspelling.sh
2728
deps =
2829
mkdocs
2930
mkdocs_nature

0 commit comments

Comments
 (0)