Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5189

python env fails to install pytest-xdist

    XMLWordPrintableJSON

Details

    • ghx-label-1

    Description

      Started seeing this regularly on the impala-asf-master-core job. joemcdonnell also reported seeing this on his dev environment.

      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 
      

      Attachments

        Issue Links

          Activity

            People

              lv Lars Volker
              mjacobs Matthew Jacobs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: