1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Refs #36005 -- Bumped minimum supported versions of docutils to 0.22.

This commit is contained in:
Mariusz Felisiak
2025-10-19 20:13:16 +02:00
committed by GitHub
parent d506e4a528
commit ca3e0484ef
5 changed files with 5 additions and 4 deletions

View File

@@ -317,7 +317,7 @@ dependencies:
* :pypi:`asgiref` 3.9.1+ (required)
* :pypi:`bcrypt` 4.1.1+
* :pypi:`colorama` 0.4.6+
* :pypi:`docutils` 0.19+
* :pypi:`docutils` 0.22+
* :pypi:`geoip2` 4.8.0+
* :pypi:`Jinja2` 2.11+
* :pypi:`numpy` 1.26.0+

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` 0.19+ package.
* Install the :pypi:`docutils` 0.22+ package.
* **Optional:** Using the admindocs bookmarklets requires
``django.contrib.admindocs.middleware.XViewMiddleware`` to be installed.

View File

@@ -377,6 +377,7 @@ of each library are the first to add or confirm compatibility with Python 3.12:
* ``aiosmtpd`` 1.4.5
* ``argon2-cffi`` 23.1.0
* ``bcrypt`` 4.1.1
* ``docutils`` 0.22
* ``geoip2`` 4.8.0
* ``Pillow`` 10.1.0
* ``mysqlclient`` 2.2.1

View File

@@ -133,5 +133,5 @@ class TestUtils(AdminDocsSimpleTestCase):
)
source = "reST, `interpreted text`, default role."
markup = "<p>reST, <cite>interpreted text</cite>, default role.</p>\n"
parts = docutils.core.publish_parts(source=source, writer_name="html4css1")
parts = docutils.core.publish_parts(source=source, writer="html4css1")
self.assertEqual(parts["fragment"], markup)

View File

@@ -3,7 +3,7 @@ asgiref >= 3.9.1
argon2-cffi >= 23.1.0
bcrypt >= 4.1.1
black >= 25.9.0
docutils >= 0.19
docutils >= 0.22
geoip2 >= 4.8.0
jinja2 >= 2.11.0
numpy >= 1.26.0