Skip to content

Commit

Permalink
Drop Python 3.7 support (reached EOL)
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Jul 25, 2023
1 parent f8aeae2 commit 9980ec0
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 65 deletions.
1 change: 0 additions & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
3.11
3.7
3.8
3.9
3.10
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ New Features:

Changed:

* Support for Python 3.7 was dropped (end-of-life in Juny 2023)
* `MyST <https://github.com/executablebooks/MyST-Parser>`_ replaces
`recommonmark <https://github.com/readthedocs/recommonmark>`_ for Markdown
support (issues #265 and #370)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Syntax highlighting of code blocks is enabled if Pygments_ is installed, which
will be installed automatically with Sphinx_. If you want to include images
other than PDF, PNG or JPEG, you also need to install Pillow_.

.. _end-of-life: https://devguide.python.org/#status-of-python-branches
.. _end-of-life: https://devguide.python.org/versions/#versions
.. _docutils: http://docutils.sourceforge.net/index.html
.. _myst-parser: https://myst-parser.readthedocs.io
.. _pip: https://pip.pypa.io
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
f'regression-{CURRENT_PYTHON}(wheel)']


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

DEPENDENCIES = ['pytest', 'pytest-xdist', 'pytest-cov', 'coverage', 'Sphinx']
Expand Down
118 changes: 59 additions & 59 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ times = "rinoh.fonts.adobe14:times"
rinoh = "rinoh.frontend.sphinx"

[tool.poetry.dependencies]
python = "^3.7.0"
python = "^3.8.0"
appdirs = "^1.4.3"
docutils = ">=0.15"
importlib-metadata = {version = ">=0.21", python = "<3.8"}
myst-parser = "^0.18.1"
packaging = ">=14.0"
rinoh-typeface-dejavuserif = "^0.1.3"
Expand All @@ -96,7 +95,7 @@ rinoh-typeface-texgyreheros = "^0.1.1"
rinoh-typeface-texgyrepagella = "^0.1.1"
Sphinx = { version = ">=2.2.1", optional = true }

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
doc8 = "^1.0.0"
nox = ">=2022.1.7"
nox-poetry = "^1.0.1"
Expand Down

0 comments on commit 9980ec0

Please sign in to comment.