aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "brian wickman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-585) aurora/thermos test failure on py26 due to pex
Date Wed, 03 Sep 2014 17:32:53 GMT

    [ https://issues.apache.org/jira/browse/AURORA-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120125#comment-14120125
] 

brian wickman commented on AURORA-585:
--------------------------------------

This is related to https://github.com/pantsbuild/pex/issues/7

Should this still be marked as blocker?  For now, the workaround is to force pants to run
in the same interpreter for which you're building your pexes.  So if you're building 2.6 pexes,
pants needs to be running as 2.6.

> 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.3.4#6332)

Mime
View raw message