diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ runtime = set([
     'cachecontrol[filecache]',
     'defusedxml',
     'lockfile',
-    'jinja2',
+    'jinja2<=2.11.3',
 ])
 
 if (sys.version_info < (2, 7)):
@@ -66,16 +66,16 @@ develop = set([
 ])
 
 docs = set([
-    'docutils==0.16',
-    'Sphinx<=3.0.2',
+    'docutils',
+    'Sphinx',
     'nbsphinx',
     'sphinx_rtd_theme',
     'ipython',
     'colorama',
-    'jinja2',
+    'jinja2<=2.11.3',
     'Pygments',
-    'jedi<0.18.0'    # Open issue with jedi 0.18.0 and iPython <= 7.19
-                     # https://github.com/davidhalter/jedi/issues/1714
+    'jedi<0.18.0',    # Open issue with jedi 0.18.0 and iPython <= 7.19
+                      # https://github.com/davidhalter/jedi/issues/1714
 ])
 
 testing = set([
Fix error created by jinga2 <I> release (#<I>)

* Fix error created by jinga2 <I> release



* Update doc build modules to latest versions

* Pinned jinja2 to the last version that worked with core