From 399f390e7eda9759aa7ff2b07e3ef8ada7484f4c Mon Sep 17 00:00:00 2001 From: Dries Schaumont <5946712+DriesSchaumont@users.noreply.github.com> Date: Fri, 25 Aug 2023 22:33:58 +0200 Subject: [PATCH] Add Sphinx 7 support (#68) * Add Sphinx 7 support * Bump sphinx_rtd_theme * Add CHANGELOG entry --- CHANGELOG.rst | 6 +++++- setup.cfg | 4 ++-- tox.ini | 7 ++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1e7fd11..d3a31d4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,9 +2,13 @@ Changelog ********* -0.5.4 (in development) +0.5.5 (in development) ---------------------- +0.5.4 (25/08/2023) +------------------ +* Add support for sphinx 7.0 (:pr:`68`) + 0.5.3 (15/06/2023) ------------------ * Officially support python 3.11 (by adding it to the tests) (:pr:`59`) diff --git a/setup.cfg b/setup.cfg index de3fb24..abfdf60 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,14 +38,14 @@ setup_requires = setuptools-scm setuptools_scm_git_archive install_requires = - sphinx >= 4.4.0,< 7 + sphinx >= 4.4.0,< 8 requests ~= 2.27 packages = subprojecttoctree [options.extras_require] docs = - sphinx_rtd_theme>=1.0,<1.3 + sphinx_rtd_theme>=1.0,<1.4 sphinx-issues~=3.0.0 dev = tox diff --git a/tox.ini b/tox.ini index 17e4ebb..370a943 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,9 @@ minversion = 3.24.5 isolated_build = True envlist = - py{3.8,3.9,3.10,3.11}-sphinx{44,45,50,51,52,53}-theme{100,110,120}-sphinxextension{off,on} + py{3.8,3.9,3.10,3.11}-sphinx{44,45,50,51,52,53}-theme{100,110,120,130}-sphinxextension{off,on} py{3.8,3.9,3.10,3.11}-sphinx{60,61,62}-theme{120}-sphinxextension{off,on} + py{3.8,3.9,3.10,3.11}-sphinx{70,71,72}-theme{130}-sphinxextension{off,on} docs flake8 @@ -18,9 +19,13 @@ deps = sphinx60: sphinx~=6.0.0 sphinx61: sphinx~=6.1.0 sphinx62: sphinx~=6.2.0 + sphinx70: sphinx~=7.0.0 + sphinx71: sphinx~=7.1.0 + sphinx72: sphinx~=7.2.0 theme100: sphinx_rtd_theme~=1.0.0 theme110: sphinx_rtd_theme~=1.1.0 theme120: sphinx_rtd_theme~=1.2.0 + theme130: sphinx_rtd_theme~=1.3.0 sphinxextensionon: readthedocs-sphinx-ext pytest pytest-mock