Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.1.0
-
Fix Version/s: 4.2.0
-
Component/s: core.api
-
Labels:None
-
Environment:
1. The Python community will soon require all connections to the public PyPi repository to support at least TLS1.2.
2. In Hue, We have hardcoded list of very old python packages such as (some of them do not exist on PyPI repository)
in desktop/devtools.mk DEVTOOLS += \ ipdb[0.1dev-r1716] \ (0.1 (2010-04-26)) ipython[0.10] \ (Aug 04, 2009) nose[0.11.3] \ (2010-03-05) coverage[3.7.1] \ (2013-12-12) nosetty[0.4] \ (2007-05-24 werkzeug[0.6] \ (2010-02-18) windmill[1.3] \ (2009-10-02) pylint[0.28.0] (2013-04-25)
3. In Python 2.7/Django 1.11 project, one of the goal is to bring latest python packages as possible.
The fix I am proposing is a minimum disturbance to the older Hue versions. Basically, keep "easy_install" based python modules installation step as it is and fix the -H(allow-hosts pattern order). Keep "archive.cloudera.com" as the first argument and use old python packages already available on "http://archive.cloudera.com/desktop-sdk-python-packages/".
1. The Python community will soon require all connections to the public PyPi repository to support at least TLS1.2. 2. In Hue, We have hardcoded list of very old python packages such as (some of them do not exist on PyPI repository) in desktop/devtools.mk DEVTOOLS += \ ipdb[0.1dev-r1716] \ (0.1 (2010-04-26)) ipython[0.10] \ (Aug 04, 2009) nose[0.11.3] \ (2010-03-05) coverage[3.7.1] \ (2013-12-12) nosetty[0.4] \ (2007-05-24 werkzeug[0.6] \ (2010-02-18) windmill[1.3] \ (2009-10-02) pylint[0.28.0] (2013-04-25) 3. In Python 2.7/Django 1.11 project, one of the goal is to bring latest python packages as possible. The fix I am proposing is a minimum disturbance to the older Hue versions. Basically, keep "easy_install" based python modules installation step as it is and fix the -H(allow-hosts pattern order). Keep "archive.cloudera.com" as the first argument and use old python packages already available on "http://archive.cloudera.com/desktop-sdk-python-packages/".
-
Target Version: