summaryrefslogtreecommitdiffstats
path: root/requirements
diff options
context:
space:
mode:
authorDimitri Savineau <dsavinea@redhat.com>2022-12-21 16:23:57 +0100
committerDimitri Savineau <dsavinea@redhat.com>2022-12-21 17:57:41 +0100
commit239827a9cf717820b72f4328a56de9fa3afceba3 (patch)
tree290e1858d6f2988277503566a9d6184247df858e /requirements
parentMerge pull request #13361 from relrod/sanity (diff)
downloadawx-239827a9cf717820b72f4328a56de9fa3afceba3.tar.xz
awx-239827a9cf717820b72f4328a56de9fa3afceba3.zip
Pin hiredis to 2.0.0
The hiredis 2.1.0 release doesn't provide source distribution on PyPi so users can't build that python package from sources. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
Diffstat (limited to 'requirements')
-rw-r--r--requirements/README.md9
-rw-r--r--requirements/requirements.in1
-rw-r--r--requirements/requirements.txt6
3 files changed, 14 insertions, 2 deletions
diff --git a/requirements/README.md b/requirements/README.md
index 556c402e7a..6b77e3b01a 100644
--- a/requirements/README.md
+++ b/requirements/README.md
@@ -157,6 +157,15 @@ For now, we pin to the old version, 3.4.1
* https://github.com/django/channels_redis/issues/332
* https://github.com/ansible/awx/issues/13313
+### hiredis
+
+The hiredis 2.1.0 release doesn't provide source distribution on PyPI which prevents users to build that python package from the
+sources.
+Downgrading to 2.0.0 (which provides source distribution) until the channels-redis issue is fixed or a newer hiredis version is
+available on PyPi with source distribution.
+
+* https://github.com/redis/hiredis-py/issues/138
+
## Library Notes
### pexpect
diff --git a/requirements/requirements.in b/requirements/requirements.in
index d2d2cca62d..405aa1d5ab 100644
--- a/requirements/requirements.in
+++ b/requirements/requirements.in
@@ -26,6 +26,7 @@ djangorestframework==3.13.1
djangorestframework-yaml
filelock
GitPython
+hiredis==2.0.0 # see UPGRADE BLOCKERs
irc
jinja2
JSON-log-formatter
diff --git a/requirements/requirements.txt b/requirements/requirements.txt
index 231f8b8881..91ea6a86b5 100644
--- a/requirements/requirements.txt
+++ b/requirements/requirements.txt
@@ -158,8 +158,10 @@ gitpython==3.1.29
# via -r /awx_devel/requirements/requirements.in
google-auth==2.14.1
# via kubernetes
-hiredis==2.1.0
- # via aioredis
+hiredis==2.0.0
+ # via
+ # -r /awx_devel/requirements/requirements.in
+ # aioredis
hyperlink==21.0.0
# via
# autobahn