Comment 0 for bug 1519727

Revision history for this message
Ilya Kharin (akscram) wrote :

The version of setuptools should be pinned to 18.5 until 18.6.2 not released according to the bug [1]. Jobs [2], [3] and [4] in CI fail with the error:

Installing collected packages: nailgun, unittest2
  Running setup.py develop for nailgun
    Complete output from command /home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/bin/python2.6 -c "import setuptools, tokenize; __file__='/home/jenkins/workspace/verify-fuel-web/nailgun/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
    running develop
    running egg_info
    writing requirements to nailgun.egg-info/requires.txt
    writing nailgun.egg-info/PKG-INFO
    writing top-level names to nailgun.egg-info/top_level.txt
    writing dependency_links to nailgun.egg-info/dependency_links.txt
    writing entry points to nailgun.egg-info/entry_points.txt
    writing pbr to nailgun.egg-info/pbr.json
    warning: manifest_maker: standard file '-c' not found
    reading manifest file 'nailgun.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'fuel-cli/fuel'
    writing manifest file 'nailgun.egg-info/SOURCES.txt'
    running build_ext
    Creating /home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/lib/python2.6/site-packages/nailgun.egg-link (link to .)
    Adding nailgun 8.0.0 to easy-install.pth file
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/jenkins/workspace/verify-fuel-web/nailgun/setup.py", line 77, in <module>
        data_files=recursive_data_files([('share/nailgun', 'static')])
      File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
        cmd_obj.run()
      File "/home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/lib/python2.6/site-packages/setuptools/command/develop.py", line 32, in run
        self.install_for_development()
      File "/home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/lib/python2.6/site-packages/setuptools/command/develop.py", line 132, in install_for_development
        self.process_distribution(None, self.dist, not self.no_deps)
      File "/home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 695, in process_distribution
        self.install_egg_scripts(dist)
      File "/home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/lib/python2.6/site-packages/setuptools/command/develop.py", line 160, in install_egg_scripts
        self.install_wrapper_scripts(dist)
      File "/home/jenkins/workspace/verify-fuel-web/nailgun/.tox/py26/lib/python2.6/site-packages/setuptools/command/develop.py", line 173, in install_wrapper_scripts
        return super(develop, self).install_wrapper_scripts(dist)
    TypeError: super() argument 1 must be type, not classobj

[1] https://bitbucket.org/pypa/setuptools/issues/464/typeerror-in-install_wrapper_scripts
[2] https://ci.fuel-infra.org/job/verify-fuel-web/6904/
[3] https://ci.fuel-infra.org/job/verify-fuel-web/6904/
[4] https://ci.fuel-infra.org/job/verify-fuel-web/6891/