소스 검색

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