Эх сурвалжийг харах

HUE-9295 [docker] Avoid pulling Django 3 by mistake with Python 3

Romain 5 жил өмнө
parent
commit
94ed383ec6

+ 1 - 1
desktop/core/requirements_py3.txt

@@ -16,7 +16,7 @@ configobj==5.0.6
 cryptography==2.8
 cryptography==2.8
 cx_Oracle==7.1.2
 cx_Oracle==7.1.2
 defusedxml==0.5.0
 defusedxml==0.5.0
-Django==1.11.28
+Django==1.11.29
 django-auth-ldap==1.3.0
 django-auth-ldap==1.3.0
 django-axes==2.2.0
 django-axes==2.2.0
 django-celery-beat==1.4.0
 django-celery-beat==1.4.0

+ 2 - 1
tools/docker/hue/Dockerfile.py3

@@ -58,7 +58,8 @@ RUN rm -rf /hue \
 RUN ./build/env/bin/pip install \
 RUN ./build/env/bin/pip install \
   psycopg2-binary \
   psycopg2-binary \
   redis==2.10.6 \
   redis==2.10.6 \
-  django_redis \
+  # Avoid Django 3 pulling
+  django_redis==4.11.0 \
   flower \
   flower \
   git+https://github.com/gethue/PyHive \
   git+https://github.com/gethue/PyHive \
   gevent \
   gevent \