summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-07-24 07:30:03 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-07-24 08:25:45 +0200
commite5d2664908164d51d2daa46e375da8b6a93def03 (patch)
treeb61c5b6d6012bf9701629b7c85024551fbce83e0
parent07d0d2975c291fe33fd7321f8f037cd55548329b (diff)
[5.1.x] Updated asgiref dependency for 5.1 release series.
Backport of df35cf578f99522dd1ba864d513be95d47bab7a5 from main.
-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