Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
tox-env: [py310, py311, py312, py313, py314, pypy310, pypy311, pygments]
tox-env: [py311, py312, py313, py314, pypy311, pygments]
include:
- tox-env: py310
python-version: '3.10'
- tox-env: py311
python-version: '3.11'
- tox-env: py312
Expand All @@ -32,8 +30,8 @@ jobs:
python-version: '3.13'
- tox-env: py314
python-version: '3.14'
- tox-env: pypy310
python-version: pypy-3.10
- tox-env: py315
python-version: '3.15'
- tox-env: pypy311
python-version: pypy-3.11
- tox-env: pygments
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ See the [Contributing Guide](contributing.md) for details.

* Inline processors now resume searching after the previous match, improving
performance for repeated inline patterns (#1619).
* Officially support Python 3.15 and drop support for Python 3.10

### Fixed

Expand Down
5 changes: 1 addition & 4 deletions markdown/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@
@lru_cache(maxsize=None)
def get_installed_extensions():
""" Return all entry_points in the `markdown.extensions` group. """
if sys.version_info >= (3, 10):
from importlib import metadata
else: # `<PY310` use backport
import importlib_metadata as metadata
from importlib import metadata
# Only load extension entry_points once.
return metadata.entry_points(group='markdown.extensions')

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ maintainers = [
]
license = "BSD-3-Clause"
license-files = ["LICENSE.md"]
requires-python = '>=3.10'
requires-python = '>=3.11'
keywords = ['markdown', 'markdown-parser', 'python-markdown', 'markdown-to-html']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.15',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{310, 311, 312, 313, 314}, pypy{310, 311}, pygments, flake8, checkspelling, pep517check, checklinks
envlist = py{311, 312, 313, 314, 315}, pypy{311}, pygments, flake8, checkspelling, pep517check, checklinks
isolated_build = True

[testenv]
Expand Down
Loading