Przeglądaj źródła

[libs] Comment the chardet dependency in request module config

Romain 5 lat temu
rodzic
commit
53911fb05e

+ 1 - 1
desktop/core/ext-py/requests-2.23.0/setup.py

@@ -42,7 +42,7 @@ if sys.argv[-1] == 'publish':
 packages = ['requests']
 
 requires = [
-    'chardet>=3.0.2,<4',
+    #'chardet>=3.0.2,<4',  # LGPL and imports have been removed
     'idna>=2.5,<3',
     'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
     'certifi>=2017.4.17'

+ 0 - 3
tools/docker/hue/Dockerfile

@@ -69,9 +69,6 @@ RUN ./build/env/bin/pip install \
   threadloop \
   thrift-sasl==0.2.1
 
-# LGPL so removing
-RUN ./build/env/bin/pip uninstall -y chardet
-
 COPY tools/docker/hue/conf desktop/conf
 COPY tools/docker/hue/startup.sh .