From 22e67b63d293671764b116d29b848c18b7d5e4bc Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Thu, 16 Nov 2023 14:25:37 -0800 Subject: [PATCH] Add asgiref requirement to work with new simple-history version django-simple-history introduced a dependency on asgiref>=3.6 but didn't include it in their requirements. Add this dependency at least until we upgrade to Django 4.2. See issue: https://github.com/jazzband/django-simple-history/issues/1255 --- requirements/dev-requirements.txt | 6 +++++- requirements/requirements.in | 4 ++++ requirements/requirements.txt | 8 ++++++-- requirements/test-requirements.txt | 1 + 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/requirements/dev-requirements.txt b/requirements/dev-requirements.txt index eaae1efd..8b0811b0 100644 --- a/requirements/dev-requirements.txt +++ b/requirements/dev-requirements.txt @@ -6,7 +6,9 @@ # alabaster==0.7.13 # via sphinx -asgiref==3.5.1 +appnope==0.1.3 + # via ipython +asgiref==3.7.2 # via # -c requirements/requirements.txt # django @@ -245,7 +247,9 @@ types-pyyaml==6.0.12.12 # via django-stubs typing-extensions==4.8.0 # via + # -c requirements/requirements.txt # -c requirements/test-requirements.txt + # asgiref # astroid # black # django-stubs diff --git a/requirements/requirements.in b/requirements/requirements.in index 71fd49cc..603942a5 100644 --- a/requirements/requirements.in +++ b/requirements/requirements.in @@ -35,3 +35,7 @@ django-simple-history # mysql # Pinned because versions >=2.2 require pkg-config. mysqlclient # https://github.com/PyMySQL/mysqlclient + +# Required for django < 4.2 and django-simple-history is updated. +# See issue https://github.com/jazzband/django-simple-history/issues/1255 +asgiref>=3.6 diff --git a/requirements/requirements.txt b/requirements/requirements.txt index d2b7c723..a9efa003 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -8,8 +8,10 @@ argon2-cffi==21.3.0 # via -r requirements/requirements.in argon2-cffi-bindings==21.2.0 # via argon2-cffi -asgiref==3.5.1 - # via django +asgiref==3.7.2 + # via + # -r requirements/requirements.in + # django async-timeout==4.0.2 # via redis build==1.0.3 @@ -167,6 +169,8 @@ tomli==2.0.1 # build # pip-tools # pyproject-hooks +typing-extensions==4.8.0 + # via asgiref urllib3==1.26.9 # via requests wheel==0.41.3 diff --git a/requirements/test-requirements.txt b/requirements/test-requirements.txt index cd3a312b..24aee24b 100644 --- a/requirements/test-requirements.txt +++ b/requirements/test-requirements.txt @@ -78,6 +78,7 @@ types-urllib3==1.26.25.14 # via types-requests typing-extensions==4.8.0 # via + # -c requirements/requirements.txt # django-test-migrations # faker urllib3==1.26.9