浏览代码

[libs] Comment the chardet dependency in request module config

Romain 5 年之前
父节点
当前提交
53911fb05e
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 1 1
      desktop/core/ext-py/requests-2.23.0/setup.py
  2. 0 3
      tools/docker/hue/Dockerfile

+ 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 .