From bf313b6fc45c993e2be9285564d80b8f636c28ca Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Wed, 17 Apr 2024 11:07:39 -0700 Subject: [PATCH 1/2] CI: Pin Sphinx to < 7.3 --- environment.yml | 2 +- requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index 186d7e1d703df..0c3182bc86adf 100644 --- a/environment.yml +++ b/environment.yml @@ -89,7 +89,7 @@ dependencies: - numpydoc - pydata-sphinx-theme=0.14 - pytest-cython # doctest - - sphinx + - sphinx < 7.3 # https://github.com/sphinx-doc/sphinx/issues/12302 - sphinx-design - sphinx-copybutton - types-python-dateutil diff --git a/requirements-dev.txt b/requirements-dev.txt index a42ee1587961a..312e611ed9d51 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -64,7 +64,7 @@ natsort numpydoc pydata-sphinx-theme==0.14 pytest-cython -sphinx +sphinx < 7.3 sphinx-design sphinx-copybutton types-python-dateutil From 1bac16850deecfed9588798f17cc353e4c0b4479 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Wed, 17 Apr 2024 11:19:15 -0700 Subject: [PATCH 2/2] pin docutils instead --- environment.yml | 3 ++- requirements-dev.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index 0c3182bc86adf..c8f55621070ae 100644 --- a/environment.yml +++ b/environment.yml @@ -89,7 +89,8 @@ dependencies: - numpydoc - pydata-sphinx-theme=0.14 - pytest-cython # doctest - - sphinx < 7.3 # https://github.com/sphinx-doc/sphinx/issues/12302 + - docutils < 0.21 # https://github.com/sphinx-doc/sphinx/issues/12302 + - sphinx - sphinx-design - sphinx-copybutton - types-python-dateutil diff --git a/requirements-dev.txt b/requirements-dev.txt index 312e611ed9d51..042f0a455de01 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -64,7 +64,8 @@ natsort numpydoc pydata-sphinx-theme==0.14 pytest-cython -sphinx < 7.3 +docutils < 0.21 +sphinx sphinx-design sphinx-copybutton types-python-dateutil