Explorar el Código

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

Romain hace 5 años
padre
commit
94ed383ec6
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 1 1
      desktop/core/requirements_py3.txt
  2. 2 1
      tools/docker/hue/Dockerfile.py3

+ 1 - 1
desktop/core/requirements_py3.txt

@@ -16,7 +16,7 @@ configobj==5.0.6
 cryptography==2.8
 cx_Oracle==7.1.2
 defusedxml==0.5.0
-Django==1.11.28
+Django==1.11.29
 django-auth-ldap==1.3.0
 django-axes==2.2.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 \
   psycopg2-binary \
   redis==2.10.6 \
-  django_redis \
+  # Avoid Django 3 pulling
+  django_redis==4.11.0 \
   flower \
   git+https://github.com/gethue/PyHive \
   gevent \