unable to build py33 environment

Bug #1403557 reported by Steve Martinelli
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

This bugs seems to be affecting a few of the clients, namely keystoneclient/glanceclient/swiftclient/openstackclient

Logs can be found here: http://logs.openstack.org/79/142379/1/check//gate-python-openstackclient-python33/9de9d8a/tox/py33-1.log

The stack trace of interest is:

  Running setup.py install for docutils
    Skipping implicit fixer: buffer
    Skipping implicit fixer: idioms
    Skipping implicit fixer: set_literal
    Skipping implicit fixer: ws_comma
    copy/convert test suite
    changing mode of build/scripts-3.3/rst2html.py from 664 to 775
    changing mode of build/scripts-3.3/rst2s5.py from 664 to 775
    changing mode of build/scripts-3.3/rst2latex.py from 664 to 775
    changing mode of build/scripts-3.3/rst2xetex.py from 664 to 775
    changing mode of build/scripts-3.3/rst2man.py from 664 to 775
    changing mode of build/scripts-3.3/rst2xml.py from 664 to 775
    changing mode of build/scripts-3.3/rst2pseudoxml.py from 664 to 775
    changing mode of build/scripts-3.3/rstpep2html.py from 664 to 775
    changing mode of build/scripts-3.3/rst2odt.py from 664 to 775
    changing mode of build/scripts-3.3/rst2odt_prepstyles.py from 664 to 775
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/build/docutils/setup.py", line 224, in <module>
        do_setup()
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/build/docutils/setup.py", line 98, in do_setup
        dist = setup(**kwargs)
      File "/usr/lib/python3.3/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.3/distutils/dist.py", line 929, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.3/distutils/dist.py", line 948, in run_command
        cmd_obj.run()
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/setuptools/command/install.py", line 59, in run
        return orig.install.run(self)
      File "/usr/lib/python3.3/distutils/command/install.py", line 620, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.3/distutils/dist.py", line 948, in run_command
        cmd_obj.run()
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/setuptools/command/install_egg_info.py", line 29, in run
        self.run_command('egg_info')
      File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.3/distutils/dist.py", line 948, in run_command
        cmd_obj.run()
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/setuptools/command/egg_info.py", line 155, in run
        writer = ep.load(installer=installer)
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/pkg_resources.py", line 2147, in load
        ['__name__'])
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/pbr/packaging.py", line 638, in <module>
        from sphinx import apidoc
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/sphinx/apidoc.py", line 22, in <module>
        from sphinx.util.osutil import walk
      File "/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/lib/python3.3/site-packages/sphinx/util/__init__.py", line 25, in <module>
        import docutils
      File "./docutils/__init__.py", line 68, in <module>
        class ApplicationError(StandardError):
    NameError: name 'StandardError' is not defined
    Complete output from command /home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/bin/python3.3 -c "import setuptools, tokenize;__file__='/home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/build/docutils/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/tmp.77XlS18aBi/pip-augj27-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jenkins/workspace/gate-python-openstackclient-python33/.tox/py33/include/site/python3.3:
    running install

Revision history for this message
Brian Curtin (brian.curtin) wrote :

FWIW, further up the file are a bunch of SyntaxErrors as well, mostly the old 2.x exception raising syntax.
The odd thing about the StandardError 2.x builtin exception class leaking through is that the 2to3 step of the docutils build appears to pass.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.