Refs #34233 -- Bumped minimum supported version of docutils to 0.19.

This commit is contained in:
Jacob Walls 2023-09-04 12:13:10 -04:00 committed by Mariusz Felisiak
parent dc89380c8a
commit 6c6606aa01
5 changed files with 5 additions and 7 deletions

View File

@ -282,7 +282,7 @@ dependencies:
* :pypi:`asgiref` 3.7.0+ (required)
* :pypi:`bcrypt`
* :pypi:`colorama` 0.4.6+
* :pypi:`docutils`
* :pypi:`docutils` 0.19+
* :pypi:`geoip2`
* :pypi:`Jinja2` 2.11+
* :pypi:`numpy`

View File

@ -23,7 +23,7 @@ the following:
your ``urlpatterns``. Make sure it's included *before* the
``'admin/'`` entry, so that requests to ``/admin/doc/`` don't get
handled by the latter entry.
* Install the :pypi:`docutils` package.
* Install the :pypi:`docutils` 0.19+ package.
* **Optional:** Using the admindocs bookmarklets requires
``django.contrib.admindocs.middleware.XViewMiddleware`` to be installed.

View File

@ -632,6 +632,8 @@ Miscellaneous
* The minimum supported version of ``colorama`` is increased to 0.4.6.
* The minimum supported version of ``docutils`` is increased to 0.19.
.. _deprecated-features-5.0:
Features deprecated in 5.0

View File

@ -3,7 +3,7 @@ asgiref >= 3.7.0
argon2-cffi >= 19.2.0
bcrypt
black
docutils
docutils >= 0.19
geoip2; python_version < '3.12'
jinja2 >= 2.11.0
numpy; python_version < '3.12'

View File

@ -50,10 +50,6 @@ warnings.simplefilter("error", RemovedInDjango51Warning)
# patterns.
warnings.simplefilter("error", ResourceWarning)
warnings.simplefilter("error", RuntimeWarning)
# Ignore known warnings in test dependencies.
warnings.filterwarnings(
"ignore", "'U' mode is deprecated", DeprecationWarning, module="docutils.io"
)
# Reduce garbage collection frequency to improve performance. Since CPython
# uses refcounting, garbage collection only collects objects with cyclic