Skip to content

Commit 9980ec0

Browse files
committed
Drop Python 3.7 support (reached EOL)
1 parent f8aeae2 commit 9980ec0

6 files changed

+64
-65
lines changed

.python-version

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
3.11
2-
3.7
32
3.8
43
3.9
54
3.10

CHANGES.rst

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ New Features:
4141

4242
Changed:
4343

44+
* Support for Python 3.7 was dropped (end-of-life in Juny 2023)
4445
* `MyST <https://github.com/executablebooks/MyST-Parser>`_ replaces
4546
`recommonmark <https://github.com/readthedocs/recommonmark>`_ for Markdown
4647
support (issues #265 and #370)

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Syntax highlighting of code blocks is enabled if Pygments_ is installed, which
118118
will be installed automatically with Sphinx_. If you want to include images
119119
other than PDF, PNG or JPEG, you also need to install Pillow_.
120120

121-
.. _end-of-life: https://devguide.python.org/#status-of-python-branches
121+
.. _end-of-life: https://devguide.python.org/versions/#versions
122122
.. _docutils: http://docutils.sourceforge.net/index.html
123123
.. _myst-parser: https://myst-parser.readthedocs.io
124124
.. _pip: https://pip.pypa.io

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
f'regression-{CURRENT_PYTHON}(wheel)']
1919

2020

21-
PYTHONS = ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
21+
PYTHONS = ['3.8', '3.9', '3.10', '3.11', '3.12']
2222
PYTHONS += ['pypy3'] if os.getenv('CI') else ['pypy3.9']
2323

2424
DEPENDENCIES = ['pytest', 'pytest-xdist', 'pytest-cov', 'coverage', 'Sphinx']

poetry.lock

+59-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ times = "rinoh.fonts.adobe14:times"
8484
rinoh = "rinoh.frontend.sphinx"
8585

8686
[tool.poetry.dependencies]
87-
python = "^3.7.0"
87+
python = "^3.8.0"
8888
appdirs = "^1.4.3"
8989
docutils = ">=0.15"
90-
importlib-metadata = {version = ">=0.21", python = "<3.8"}
9190
myst-parser = "^0.18.1"
9291
packaging = ">=14.0"
9392
rinoh-typeface-dejavuserif = "^0.1.3"
@@ -96,7 +95,7 @@ rinoh-typeface-texgyreheros = "^0.1.1"
9695
rinoh-typeface-texgyrepagella = "^0.1.1"
9796
Sphinx = { version = ">=2.2.1", optional = true }
9897

99-
[tool.poetry.dev-dependencies]
98+
[tool.poetry.group.dev.dependencies]
10099
doc8 = "^1.0.0"
101100
nox = ">=2022.1.7"
102101
nox-poetry = "^1.0.1"

0 commit comments

Comments
 (0)