docs: add jinja2 pin#1352
Conversation
blackboxsw
left a comment
There was a problem hiding this comment.
[3.1.0 Released: about 7 hours agohttps://pypi.org/project/Jinja2/#history)]. yep. Internet broke us. While we are at it though, our pinning in this regard is so stale, it's probably worth bumping to what RTD says is a reasonable default today anyway
Why don't we instead bump our pins to newer versions while we are at it:
diff --git a/doc-requirements.txt b/doc-requirements.txt
index 387ebe9da..0465b57d2 100644
--- a/doc-requirements.txt
+++ b/doc-requirements.txt
@@ -1,10 +1,9 @@
doc8
m2r
-sphinx<2
-sphinx_rtd_theme
+sphinx==4.2.0
+sphinx_rtd_theme==1.0.0
pyyaml
# Indirect dependencies
-jinja2<3.1.0 # https://github.com/readthedocs/readthedocs.org/issues/9037
docutils<0.18
mistune<2.0.0 # https://github.com/miyakogi/m2r/issues/66|
With the set you listed I get: Since we have another PR looking to update docs dependencies, I think we should pin here and upgrade there. |
Ahh right we'll hit both docutils pinned issues with this supplemental pin as well as mistune. Ok, as you proposed. Pin the fix for now. and adjust updates to later versions with @holmanb's PR. |
blackboxsw
left a comment
There was a problem hiding this comment.
LGTM. As discussed update all doc dependencies in a separate PR.
CI docs is currently failing on main due to a new jinja2 release.