diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e4be56bd..1fadbd91 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy2.7", "pypy3.9"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"] steps: diff --git a/NEWS b/NEWS index b3ac0537..84d8902e 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ * Support attributes in HTML paths in style mappings. +* Drop support for Python 2.7, Python 3.5 and Python 3.6. + # 1.6.0 * Support merged paragraphs when revisions are tracked. diff --git a/setup.py b/setup.py index 55e66449..8931a4a2 100644 --- a/setup.py +++ b/setup.py @@ -25,23 +25,20 @@ def read(fname): install_requires=[ "cobble>=0.1.3,<0.2", ], - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', + python_requires='>=3.7', license="BSD-2-Clause", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', '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.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], ) diff --git a/tox.ini b/tox.ini index 00174d33..b32b32bb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py35,py36,py37,py38,py39,py310,py311,pypy,pypy3 +envlist = py37,py38,py39,py310,py311,py312,pypy3 [testenv] changedir = {envtmpdir} deps=-r{toxinidir}/test-requirements.txt