You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/07/17 20:35:04 UTC

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

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

Mark Chu-Carroll reassigned AURORA-585:
---------------------------------------

    Assignee: Mark Chu-Carroll

> 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
>            Assignee: Mark Chu-Carroll
>            Priority: Blocker
>         Attachments: AURORA-585.log
>
>
> 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)