diff --git a/build_docs.py b/build_docs.py index 9e6804c..3e8cd98 100755 --- a/build_docs.py +++ b/build_docs.py @@ -108,7 +108,7 @@ def requirements(self): if version_to_tuple(self.sphinx_version) < (4, 5): # see https://github.com/python/cpython/issues/91294 reqs += ["jinja2<3.1"] - if version_to_tuple(self.sphinx_version) <= (3, 2, 1): + if version_to_tuple(self.sphinx_version) < (3, 5, 4): # see https://github.com/python/cpython/issues/91483 reqs += ["docutils<=0.17.1"] return reqs