diff --git a/setup.py b/setup.py index 4b7c060b4..adafefd61 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,7 @@ REQUIRED = [ "dill", "dataclasses;python_version<'3.7'", "filelock", - "jinja2", # for passing the readthedocs workflow. + "jinja2<3.1.0", # for passing the readthedocs workflow. "gym", # Installing the latest version of protobuf for python versions below 3.8 will cause unit tests to fail. "protobuf<=3.20.1;python_version<='3.8'",