Skip to content

Commit

Permalink
Added temporary asgiref requirement
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ddabble committed Sep 25, 2023
1 parent 329659b commit d1ce47a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Unreleased
(gh-1248)
- Passing an empty list as the ``fields`` argument to ``bulk_update_with_history()`` is
now allowed; history records will still be created (gh-1248)

- Added temporary requirement on ``asgiref>=3.6`` while the minimum required Django
version is lower than 4.2 (gh-1261)

3.4.0 (2023-08-18)
------------------
Expand Down
2 changes: 2 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
-r ./coverage.txt
# DEV: Remove this requirement entirely when the minimum required Django version is 4.2
asgiref>=3.6
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"fallback_version": "0.0.0",
},
setup_requires=["setuptools_scm"],
# DEV: Remove `asgiref` when the minimum required Django version is 4.2
install_requires=["asgiref>=3.6"],
description="Store model history and view/revert changes from admin site.",
long_description="\n".join((readme.read(), changes.read())),
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit d1ce47a

Please sign in to comment.