You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bhuvan Arumugam (JIRA)" <ji...@apache.org> on 2014/07/17 00:47:05 UTC

[jira] [Created] (AURORA-585) aurora/thermos test failure on py26 due to pex

Bhuvan Arumugam created AURORA-585:
--------------------------------------

             Summary: aurora/thermos test failure on py26 due to pex
                 Key: AURORA-585
                 URL: https://issues.apache.org/jira/browse/AURORA-585
             Project: Aurora
          Issue Type: Story
          Components: Scheduler
    Affects Versions: 0.5.0
            Reporter: Bhuvan Arumugam
            Priority: Blocker


The target {{./pants src/test/python:all -vxs}} fail, because valid pex is not built. Refer to attached log for verbose output.

{code}
[bhuvan@build incubator-aurora]$ ./build-support/pex.venv/bin/pex
Traceback (most recent call last):
  File "./build-support/pex.venv/bin/pex", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/home/bhuvan/projects/mesos/incubator-aurora/build-support/pex.venv/lib/python2.6/site-packages/pkg_resources.py", line 2876, in <module>
    working_set = WorkingSet._build_master()
  File "/home/bhuvan/projects/mesos/incubator-aurora/build-support/pex.venv/lib/python2.6/site-packages/pkg_resources.py", line 449, in _build_master
    ws.require(__requires__)
  File "/home/bhuvan/projects/mesos/incubator-aurora/build-support/pex.venv/lib/python2.6/site-packages/pkg_resources.py", line 745, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/bhuvan/projects/mesos/incubator-aurora/build-support/pex.venv/lib/python2.6/site-packages/pkg_resources.py", line 639, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
{code}

The fix is to explicitly install this library.
{code}
./build-support/pex.venv/bin/pip install argparse==1.2.1
{code}

We should fix pants to include this library as one of dependent when it build the pex of pex.



--
This message was sent by Atlassian JIRA
(v6.2#6252)