From 04e60792a2556e2b8a58ae7822ef710be2595b1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:39:38 +0000 Subject: [PATCH] BUILD: Fix sphinx-autobuild for Python3.8 (#5178) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com> --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index db804004400..0a18bf5720e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,7 +87,8 @@ doc = [ "recommonmark", "scikit-rf>=0.30.0,<1.4", "Sphinx>=7.1.0,<8.1", - "sphinx-autobuild==2024.9.3; python_version == '3.8'", + # NOTE: latest compatible version for Python 3.8 is 2021.3.14 + "sphinx-autobuild==2021.3.14; python_version == '3.8'", "sphinx-autobuild==2024.9.3; python_version > '3.8'", #"sphinx-autodoc-typehints", "sphinx-copybutton>=0.5.0,<0.6", @@ -103,7 +104,8 @@ doc-no-examples = [ "numpydoc>=1.5.0,<1.9", "recommonmark", "Sphinx>=7.1.0,<8.1", - "sphinx-autobuild==2024.9.3; python_version == '3.8'", + # NOTE: latest compatible version for Python 3.8 is 2021.3.14 + "sphinx-autobuild==2021.3.14; python_version == '3.8'", "sphinx-autobuild==2024.9.3; python_version > '3.8'", #"sphinx-autodoc-typehints", "sphinx-copybutton>=0.5.0,<0.6",