We use https://github.com/pytorch/vision/blob/56fb0bf5796ac374d4e353032e418236cd73c554/docs/requirements.txt#L5 Internally, they only restrict [`Jinja2>=2.3`](https://github.com/sphinx-doc/sphinx/blob/f6a839ff0fed5fa32428f9a6909023ee299067ac/setup.py#L24). [`Jinja2==3.1.0`](https://pypi.org/project/Jinja2/3.1.0/), which was released about an hour ago, [removes](https://jinja.palletsprojects.com/en/3.1.x/changes/) ```py from jinja2 import environmentfilter ``` This however is imported by [`sphinx==3.5.4`](https://github.com/sphinx-doc/sphinx/blob/f6a839ff0fed5fa32428f9a6909023ee299067ac/sphinx/util/rst.py#L21). Never versions of `sphinx` have a [safeguard ](https://github.com/sphinx-doc/sphinx/blob/a55816deb546828db1383f2875be815bf805f858/sphinx/util/rst.py#L26-L29). This trips our CI docs workflow. See [this run](https://app.circleci.com/pipelines/github/pytorch/vision/16039/workflows/263ecd3f-5602-4b96-96a8-bc444f49b8fc/jobs/1298430) for an example.