From d4e68ca5a4c69aa9d8bc65ad33485c04bb926528 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Mon, 9 Jan 2023 22:47:27 -0600 Subject: [PATCH 1/2] Pin sphinx != 6.1.2 Sphinx 6.1.2 introduces new behavior which causes python source files to be copied into the images folder errantly. For a more full write up refer to sphinx-doc/sphinx#11117 --- requirements/doc/doc-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/doc/doc-requirements.txt b/requirements/doc/doc-requirements.txt index d95ceb4e5f84..f4db1699fc5c 100644 --- a/requirements/doc/doc-requirements.txt +++ b/requirements/doc/doc-requirements.txt @@ -7,7 +7,7 @@ # Install the documentation requirements with: # pip install -r requirements/doc/doc-requirements.txt # -sphinx>=3.0.0 +sphinx>=3.0.0,!=6.1.2 colorspacious ipython ipywidgets From 8d239aa7db2730d54990b191323a12e49cdeea89 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Mon, 9 Jan 2023 23:26:47 -0600 Subject: [PATCH 2/2] tests workflow does not use requirements/doc/doc-requirments.txt --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 78dfefdbe7aa..faa68ba7fd91 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -177,7 +177,7 @@ jobs: # Install optional dependencies from PyPI. # Sphinx is needed to run sphinxext tests - python -m pip install --upgrade sphinx + python -m pip install --upgrade sphinx!=6.1.2 # GUI toolkits are pip-installable only for some versions of Python # so don't fail if we can't install them. Make it easier to check