Skip to content

Commit c75e3f5

Browse files
committed
Raise minimum Python version to 3.7
1 parent fe41ddb commit c75e3f5

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy2.7", "pypy3.9"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"]
1212

1313
steps:
1414

NEWS

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* Support attributes in HTML paths in style mappings.
44

5+
* Drop support for Python 2.7, Python 3.5 and Python 3.6.
6+
57
# 1.6.0
68

79
* Support merged paragraphs when revisions are tracked.

setup.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,20 @@ def read(fname):
2525
install_requires=[
2626
"cobble>=0.1.3,<0.2",
2727
],
28-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
28+
python_requires='>=3.7',
2929
license="BSD-2-Clause",
3030
classifiers=[
3131
'Development Status :: 5 - Production/Stable',
3232
'Intended Audience :: Developers',
3333
'License :: OSI Approved :: BSD License',
3434
'Programming Language :: Python',
35-
'Programming Language :: Python :: 2',
36-
'Programming Language :: Python :: 2.7',
3735
'Programming Language :: Python :: 3',
38-
'Programming Language :: Python :: 3.5',
39-
'Programming Language :: Python :: 3.6',
4036
'Programming Language :: Python :: 3.7',
4137
'Programming Language :: Python :: 3.8',
4238
'Programming Language :: Python :: 3.9',
4339
'Programming Language :: Python :: 3.10',
4440
'Programming Language :: Python :: 3.11',
41+
'Programming Language :: Python :: 3.12',
4542
],
4643
)
4744

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py35,py36,py37,py38,py39,py310,py311,pypy,pypy3
2+
envlist = py37,py38,py39,py310,py311,py312,pypy3
33
[testenv]
44
changedir = {envtmpdir}
55
deps=-r{toxinidir}/test-requirements.txt

0 commit comments

Comments
 (0)