aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-02-17 14:01:38 +0000
committerMichael Williamson <mike@zwobble.org>2024-02-17 14:03:44 +0000
commitc75e3f5d0a979db659580d649b285320813d6cbd (patch)
treeea636b97f9ebeae9bb8cf3793680002f5d5a12c0
parentfe41ddbc51b4b7c6ce7d958ea7622983d7805b7e (diff)
Raise minimum Python version to 3.7
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--NEWS2
-rw-r--r--setup.py7
-rw-r--r--tox.ini2
4 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e4be56b..1fadbd9 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 b3ac053..84d8902 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 55e6644..8931a4a 100644
--- a/setup.py
+++ b/setup.py
@@ -25,23 +25,20 @@ setup(
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 00174d3..b32b32b 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