Skip to content

Commit

Permalink
build: Add support for Sphinx 7. Drop support for Sphinx 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jan 25, 2024
1 parent 5bc03d5 commit 867f7d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

Unreleased
----------

- Add support for Sphinx 7.
- Drop support for Sphinx 4.

0.3.8 (2023-07-20)
------------------

Expand Down
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://pytest-cov.readthedocs.io/en/latest/tox.html
[tox]
envlist = clean,py-sphinx{4,5,6},report
envlist = clean,py-sphinx{5,6,7},report

[testenv]
constrain_package_deps = true
Expand All @@ -14,13 +14,10 @@ commands =
coverage run --append --source=ocdsextensionregistry -m pytest
deps =
coverage
sphinx4: Sphinx>=4,<5
sphinx5: Sphinx>=5,<6
sphinx6: Sphinx>=6,<7
sphinx7: Sphinx>=7,<8
sphinx{5,6}: docutils<0.19
# Avoid DeprecationWarning from MyST-Parser until > 2.0.0. (myst-parser>=2 is required for Sphinx>=7.)
# https://github.com/executablebooks/MyST-Parser/issues/612
# sphinx7: Sphinx>=7,<8
depends =
py-sphinx{4,5,6}: clean
report: py-sphinx{4,5,6}
Expand Down

0 comments on commit 867f7d5

Please sign in to comment.