From 6ef3afb791258e6c079873487ef195252028325a Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Sat, 6 Aug 2022 00:12:03 -0700 Subject: [PATCH 1/3] Shot in the dark fix for broken 3.10 render --- build_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_docs.py b/build_docs.py index 9e6804c..cda4889 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, 4, 3): # see https://github.com/python/cpython/issues/91483 reqs += ["docutils<=0.17.1"] return reqs From e1b2aec0cc99ee2dab94cb45d5db212df88443ea Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 6 Aug 2022 13:58:03 -0700 Subject: [PATCH 2/3] Update build_docs.py Co-authored-by: Maciej Olko --- build_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_docs.py b/build_docs.py index cda4889..0fabed5 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, 4, 3): + 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 From 5a807679b67eb82b68c08e6a64a1e7c0a7921571 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Sat, 6 Aug 2022 14:18:30 -0700 Subject: [PATCH 3/3] use strict comparison --- build_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_docs.py b/build_docs.py index 0fabed5..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, 5, 4): + 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