Skip to content

Commit fd9aa52

Browse files
authored
Added temporary asgiref requirement (#1261)
See #1255 for discussion. Link to Django 4.1's required `asgiref` version: https://github.com/django/django/blob/4.1.11/setup.cfg#L42 Link to Django 4.2's required `asgiref` version: https://github.com/django/django/blob/4.2/setup.cfg#L42
1 parent 329659b commit fd9aa52

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGES.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ Unreleased
1212
(gh-1248)
1313
- Passing an empty list as the ``fields`` argument to ``bulk_update_with_history()`` is
1414
now allowed; history records will still be created (gh-1248)
15-
15+
- Added temporary requirement on ``asgiref>=3.6`` while the minimum required Django
16+
version is lower than 4.2 (gh-1261)
1617

1718
3.4.0 (2023-08-18)
1819
------------------

requirements/test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
-r ./coverage.txt
2+
# DEV: Remove this requirement entirely when the minimum required Django version is 4.2
3+
asgiref>=3.6

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"fallback_version": "0.0.0",
1212
},
1313
setup_requires=["setuptools_scm"],
14+
# DEV: Remove `asgiref` when the minimum required Django version is 4.2
15+
install_requires=["asgiref>=3.6"],
1416
description="Store model history and view/revert changes from admin site.",
1517
long_description="\n".join((readme.read(), changes.read())),
1618
long_description_content_type="text/x-rst",

0 commit comments

Comments
 (0)