funkload breaks "make build"

RESOLVED FIXED

Status

Cloud Services
Server: Identity
--
critical
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: RaFromBRC, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
The funkload package apparently tries to import ez_setup.py w/o actually including it.  Here's the traceback:

bin/easy_install Funkload
install_dir /Users/rob/venv/server-identity/lib/python2.7/site-packages/
Searching for Funkload
Reading http://pypi.python.org/simple/Funkload/
Reading http://funkload.nuxeo.org/
Best match: funkload 1.15.0
Downloading http://pypi.python.org/packages/source/f/funkload/funkload-1.15.0.tar.gz#md5=22748ba0b19907314b888ab4476eaf98
Processing funkload-1.15.0.tar.gz
Running funkload-1.15.0/setup.py -q bdist_egg --dist-dir /var/folders/Yu/YuJ3Jx+HEVq8QNoeOZVryk+++TI/-Tmp-/easy_install-e8UZw8/funkload-1.15.0/egg-dist-tmp-jHSxaX
Traceback (most recent call last):
  File "bin/easy_install", line 9, in <module>
    load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install')()
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1855, in main
    with_ei_usage(lambda:
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1836, in with_ei_usage
    return f()
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1859, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/opt/python/parts/opt/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/python/parts/opt/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/opt/python/parts/opt/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 342, in run
    self.easy_install(spec, not self.no_deps)
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 582, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 612, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 802, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1079, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1068, in run_setup
    run_setup(setup_script, args)
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/sandbox.py", line 29, in run_setup
    lambda: execfile(
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/sandbox.py", line 70, in run
    return func()
  File "/Users/rob/venv/server-identity/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/sandbox.py", line 31, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 24, in <module>
    # either the GNU General Public License Version 2 or later (the "GPL"), or
ImportError: No module named ez_setup
Fixed by downgrading Funkload: https://hg.mozilla.org/services/server-identity/file/d2c7d725b068/Makefile#l25

I've also sent a mail upstream
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.