diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index ba8f9f800..9c9c5c9e8 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -20,10 +20,8 @@ jobs: fail-fast: false max-parallel: 4 matrix: - tox-env: [py39, py310, py311, py312, py313, py314, pypy39, pypy310, pygments] + tox-env: [py310, py311, py312, py313, py314, pypy310, pypy311, pygments] include: - - tox-env: py39 - python-version: '3.9' - tox-env: py310 python-version: '3.10' - tox-env: py311 @@ -34,10 +32,10 @@ jobs: python-version: '3.13' - tox-env: py314 python-version: '3.14' - - tox-env: pypy39 - python-version: pypy-3.9 - tox-env: pypy310 python-version: pypy-3.10 + - tox-env: pypy311 + python-version: pypy-3.11 - tox-env: pygments python-version: '3.11' env: diff --git a/docs/changelog.md b/docs/changelog.md index a086bb121..63c453237 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -12,6 +12,11 @@ See the [Contributing Guide](contributing.md) for details. ## [Unreleased] +### Changed + +* Officially support Python 3.14 and PyPy 3.11 and drop support for Python 3.9 + and PyPy 3.9. + ### Fixed * Fix an HTML comment parsing case in some Python versions that can cause an diff --git a/pyproject.toml b/pyproject.toml index e350a2376..9b083bbe4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,21 +19,18 @@ maintainers = [ ] license = "BSD-3-Clause" license-files = ["LICENSE.md"] -requires-python = '>=3.9' -dependencies = [ - "importlib-metadata>=4.4;python_version<'3.10'" -] +requires-python = '>=3.10' 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.9', '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 :: Only', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', diff --git a/tox.ini b/tox.ini index 7bc4f8db4..8b331dcb3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{39, 310, 311, 312, 313, py314}, pypy{39, 310}, pygments, flake8, checkspelling, pep517check, checklinks +envlist = py{310, 311, 312, 313, 314}, pypy{310, 311}, pygments, flake8, checkspelling, pep517check, checklinks isolated_build = True [testenv]