Hey Peter,

Just looking at the travis job, it looks like there's not a fetch_eggs step at the start, but rather that it's fetching as they're require()'d.  Is that correct?  In any event, I'm changing the order of those requires in 13302:92519a9bfa32, which may resolve your issue.  They work fine like that in production with eggs fetched ahead of time, but I could see how that'd cause the failure you're seeing.

-Dannon


On Mon, May 5, 2014 at 9:14 AM, Peter Cock <p.j.a.cock@googlemail.com> wrote:
Hi all,

Recently my TravisCI tests have started failing during the tool
functional tests due to what looks like a missing dependency:
e.g. https://travis-ci.org/peterjc/pico_galaxy/jobs/24444682

...
galaxy.eggs DEBUG 2014-05-05 11:26:47,387 Fetched
http://eggs.galaxyproject.org/boto/boto-2.27.0-py2.7.egg
galaxy.eggs DEBUG 2014-05-05 11:26:47,753 Fetched
http://eggs.galaxyproject.org/bioblend/bioblend-0.4.2-py2.7.egg
Traceback (most recent call last):
  File "./scripts/functional_tests.py", line 601, in <module>
    sys.exit( main() )
  File "./scripts/functional_tests.py", line 417, in main
    use_translogger=False, static_enabled=STATIC_ENABLED )
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/galaxy/webapps/galaxy/buildapp.py",
line 49, in app_factory
    webapp.add_ui_controllers( 'galaxy.webapps.galaxy.controllers', app )
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/galaxy/web/framework/__init__.py",
line 441, in add_ui_controllers
    module = import_module( module_name )
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/galaxy/util/backports/importlib/__init__.py",
line 37, in import_module
    __import__(name)
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/galaxy/webapps/galaxy/controllers/cloudlaunch.py",
line 20, in <module>
    eggs.require('pyyaml')
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/galaxy/eggs/__init__.py",
line 412, in require
    return pkg_resources.working_set.require( req_str )
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/pkg_resources.py",
line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/travis/build/peterjc/pico_galaxy/galaxy-central-master/lib/pkg_resources.py",
line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: pyyaml


Is there a missing egg declaration for pyyaml?

I found this commit about a PyYAML 3.10 egg., perhaps linked?
https://bitbucket.org/galaxy/galaxy-central/commits/c36dc4155beb0ae5e117ca33e0ad231535186d6d

Thanks,

Peter
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/