[ 
https://issues.apache.org/jira/browse/LIVY-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gyorgy Gal updated LIVY-853:
----------------------------
    Fix Version/s: 0.10.0
                       (was: 0.9.0)

This issue has been moved to the 0.10.0 release as part of a bulk update. If 
you feel this is moved out inappropriately, feel free to provide justification 
and reset the Fix Version to 0.9.0.

> livy-python-api module build failed due to old version of pip and setuptools
> ----------------------------------------------------------------------------
>
>                 Key: LIVY-853
>                 URL: https://issues.apache.org/jira/browse/LIVY-853
>             Project: Livy
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.7.0
>            Reporter: Zhongwei Zhu
>            Priority: Minor
>             Fix For: 0.10.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Build [https://travis-ci.com/github/apache/incubator-livy/jobs/498541463] 
> failed due to tests_require in setup.py even for no related change. 
> Stacktrace as below:
> Couldn't find index page for 'pytest-runner' (maybe misspelled?)
>  No local packages or working download links found for pytest-runner
>  Traceback (most recent call last):
>  File "setup.py", line 58, in <module>
>  tests_require=['pytest']
>  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
>  _setup_distribution = dist = klass(attrs)
>  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 318, 
> in __init__
>  self.fetch_build_eggs(attrs['setup_requires'])
>  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 375, 
> in fetch_build_eggs
>  replace_conflicting=True,
>  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
> line 851, in resolve
>  dist = best[req.key] = env.best_match(req, ws, installer)
>  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
> line 1123, in best_match
>  return self.obtain(req, installer)
>  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
> line 1135, in obtain
>  return installer(requirement)
>  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 443, 
> in fetch_build_egg
>  return cmd.easy_install(req)
>  File 
> "/usr/local/lib/python2.7/dist-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('pytest-runner')
> It seems caused by old version of pip and setuptools for python2
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to