Skip to content

Commit

Permalink
Raise minimum Python version to 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Feb 17, 2024
1 parent fe41ddb commit 8ec069b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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", "pypy2.7", "pypy3.9"]

steps:

Expand Down
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
)

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py35,py36,py37,py38,py39,py310,py311,pypy,pypy3
envlist = py37,py38,py39,py310,py311,py312,pypy,pypy3
[testenv]
changedir = {envtmpdir}
deps=-r{toxinidir}/test-requirements.txt
Expand Down

0 comments on commit 8ec069b

Please sign in to comment.