[ https://issues.apache.org/jira/browse/LIVY-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akshat Bordia updated LIVY-736: ------------------------------- Summary: Documentation update to mitigate livy-python-api build failure due OpenSSL version (was: livy-python-api build fails on MacOS due to old OpenSSL version ) > Documentation update to mitigate livy-python-api build failure due OpenSSL > version > ----------------------------------------------------------------------------------- > > Key: LIVY-736 > URL: https://issues.apache.org/jira/browse/LIVY-736 > Project: Livy > Issue Type: Bug > Components: Build > Environment: macOS Mojave Version 10.14.5 > Reporter: Akshat Bordia > Priority: Minor > > Steps to reproduce: > * Run mvn -DskipTests clean package either for the entire project or for > python-api project > Expected Result: > * Build should be successful > Actual Result: > * Build fails while downloading dependencies from PIP. > * Error Log: Added below > Mitigation: > * The issue is due to TLS v1.0 and v1.1 deprecation for PIP. This can be > fixed by upgrading pyOpenSSL to the latest version. > Error Logs: > Download error on [https://pypi.python.org/simple/flake8/]: [SSL: > TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- > Some packages may not be found! > Couldn't find index page for 'flake8' (maybe misspelled?) > Download error on [https://pypi.python.org/simple/]: [SSL: > TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- > Some packages may not be found! > No local packages or working download links found for flake8 > Traceback (most recent call last): > File "setup.py", line 57, in <module> > tests_require=['pytest'] > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/__init__.py", > line 128, in setup > _install_setup_requires(attrs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/__init__.py", > line 123, in _install_setup_requires > dist.fetch_build_eggs(dist.setup_requires) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", > line 461, in fetch_build_eggs > replace_conflicting=True, > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 881, in resolve > replace_conflicting=replace_conflicting > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 1164, in best_match > return self.obtain(req, installer) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 1176, in obtain > return installer(requirement) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", > line 528, in fetch_build_egg > return cmd.easy_install(req) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", > line 667, in easy_install > raise DistutilsError(msg) > distutils.errors.DistutilsError: Could not find suitable distribution for > Requirement.parse('flake8') > -- This message was sent by Atlassian Jira (v8.3.4#803005)