summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt2
-rw-r--r--docs/releases/5.1.txt3
-rw-r--r--pyproject.toml2
-rw-r--r--tests/requirements/py3.txt2
4 files changed, 6 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index ca4029dbfa..3641bfb8cc 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -313,7 +313,7 @@ dependencies:
* :pypi:`aiosmtpd`
* :pypi:`argon2-cffi` 19.2.0+
-* :pypi:`asgiref` 3.7.0+ (required)
+* :pypi:`asgiref` 3.8.1+ (required)
* :pypi:`bcrypt`
* :pypi:`colorama` 0.4.6+
* :pypi:`docutils` 0.19+
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt
index db7ea41e52..09deba5d71 100644
--- a/docs/releases/5.1.txt
+++ b/docs/releases/5.1.txt
@@ -394,6 +394,9 @@ Miscellaneous
``width_field`` and ``height_field`` will not match the width and height of
the image.
+* The minimum supported version of ``asgiref`` is increased from 3.7.0 to
+ 3.8.1.
+
.. _deprecated-features-5.1:
Features deprecated in 5.1
diff --git a/pyproject.toml b/pyproject.toml
index 22a57addf1..3d7318f4a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ name = "Django"
dynamic = ["version"]
requires-python = ">= 3.10"
dependencies = [
- "asgiref>=3.7.0",
+ "asgiref>=3.8.1,<4",
"sqlparse>=0.3.1",
"tzdata; sys_platform == 'win32'",
]
diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt
index d1f3708720..0fcb6e5b4e 100644
--- a/tests/requirements/py3.txt
+++ b/tests/requirements/py3.txt
@@ -1,5 +1,5 @@
aiosmtpd
-asgiref >= 3.7.0
+asgiref >= 3.8.1
argon2-cffi >= 19.2.0; sys_platform != 'win32' or python_version < '3.13'
bcrypt
black