Skip to content

Commit 7335a1a

Browse files
committed
[4.2.x] Refs #36535 -- Doc'd that docutils < 0.22 is required.
Backport of 9d9b3bc from stable/5.1.x.
1 parent 591b23a commit 7335a1a

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎docs/internals/contributing/writing-code/unit-tests.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ dependencies:
284284
* :pypi:`asgiref` 3.6.0+ (required)
285285
* :pypi:`bcrypt`
286286
* :pypi:`colorama`
287-
* :pypi:`docutils`
287+
* :pypi:`docutils` <0.22
288288
* :pypi:`geoip2`
289289
* :pypi:`Jinja2` 2.11+
290290
* :pypi:`numpy`

‎docs/ref/contrib/admin/admindocs.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ the following:
2323
your ``urlpatterns``. Make sure it's included *before* the
2424
``'admin/'`` entry, so that requests to ``/admin/doc/`` don't get
2525
handled by the latter entry.
26-
* Install the docutils Python module (https://docutils.sourceforge.io/).
26+
* Install the docutils Python module version <0.22
27+
(https://docutils.sourceforge.io/).
2728
* **Optional:** Using the admindocs bookmarklets requires
2829
``django.contrib.admindocs.middleware.XViewMiddleware`` to be installed.
2930

‎tests/requirements/py3.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ argon2-cffi >= 19.2.0
44
backports.zoneinfo; python_version < '3.9'
55
bcrypt
66
black == 23.12.1
7-
docutils
7+
docutils < 0.22
88
geoip2; python_version < '3.12'
99
jinja2 >= 2.11.0
1010
numpy; python_version < '3.12'

0 commit comments

Comments
 (0)