You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Matthew Jacobs (JIRA)" <ji...@apache.org> on 2017/04/08 01:15:41 UTC
[jira] [Created] (IMPALA-5189) python env fails to install
pytest-xdist
Matthew Jacobs created IMPALA-5189:
--------------------------------------
Summary: python env fails to install pytest-xdist
Key: IMPALA-5189
URL: https://issues.apache.org/jira/browse/IMPALA-5189
Project: IMPALA
Issue Type: Bug
Components: Infrastructure
Affects Versions: Impala 2.8.0
Reporter: Matthew Jacobs
Assignee: Matthew Jacobs
Priority: Blocker
Started seeing this regularly on the impala-asf-master-core job. [~joemcdonnell] also reported seeing this on his dev environment.
{code}
17:33:29 Collecting pytest-xdist==1.15.0 (from -r /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/bin/../infra/python/deps/requirements.txt (line 30))
17:33:29 Complete output from command python setup.py egg_info:
17:33:29 Traceback (most recent call last):
17:33:29 File "<string>", line 20, in <module>
17:33:29 File "/tmp/pip-build-6W5KD8/pytest-xdist/setup.py", line 37, in <module>
17:33:29 'Programming Language :: Python :: 3',
17:33:29 File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
17:33:29 _setup_distribution = dist = klass(attrs)
17:33:29 File "/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/infra/python/env/lib/python2.6/site-packages/setuptools/dist.py", line 272, in __init__
17:33:29 _Distribution.__init__(self,attrs)
17:33:29 File "/usr/lib64/python2.6/distutils/dist.py", line 270, in __init__
17:33:29 self.finalize_options()
17:33:29 File "/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/infra/python/env/lib/python2.6/site-packages/setuptools/dist.py", line 327, in finalize_options
17:33:29 ep.load()(self, ep.name, value)
17:33:29 File "/tmp/pip-build-6W5KD8/pytest-xdist/.eggs/setuptools_scm-1.15.3-py2.6.egg/setuptools_scm/integration.py", line 21, in version_keyword
17:33:29 File "/tmp/pip-build-6W5KD8/pytest-xdist/.eggs/setuptools_scm-1.15.3-py2.6.egg/setuptools_scm/__init__.py", line 118, in get_version
17:33:29
17:33:29 File "/tmp/pip-build-6W5KD8/pytest-xdist/.eggs/setuptools_scm-1.15.3-py2.6.egg/setuptools_scm/__init__.py", line 96, in _do_parse
17:33:29
17:33:29 LookupError: setuptools-scm was unable to detect version for '/tmp/pip-build-6W5KD8/pytest-xdist'.
17:33:29
17:33:29 Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
17:33:29
17:33:29 For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
17:33:29
17:33:29 ----------------------------------------
17:33:29 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6W5KD8/pytest-xdist
17:33:29
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)