doc/source/conf.py raises a SyntaxError on python2.6

Bug #1287631 reported by Ionuț Arțăriși
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Ionuț Arțăriși

Bug Description

Traceback from the Open Build Service: https://build.opensuse.org/package/show/Cloud:OpenStack:Master/openstack-heat

[ 56s] Running Sphinx v1.2.1
[ 56s] Traceback (most recent call last):
[ 56s] File "setup.py", line 22, in <module>
[ 56s] pbr=True)
[ 56s] File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
[ 56s] dist.run_commands()
[ 56s] File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
[ 56s] self.run_command(cmd)
[ 56s] File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
[ 56s] cmd_obj.run()
[ 56s] File "/usr/lib64/python2.6/site-packages/pbr/packaging.py", line 758, in run
[ 56s] setup_command.BuildDoc.run(self)
[ 56s] File "/usr/lib64/python2.6/site-packages/sphinx/setup_command.py", line 157, in run
[ 56s] freshenv=self.fresh_env)
[ 56s] File "/usr/lib64/python2.6/site-packages/sphinx/application.py", line 107, in __init__
[ 56s] confoverrides or {}, self.tags)
[ 56s] File "/usr/lib64/python2.6/site-packages/sphinx/config.py", line 231, in __init__
[ 56s] raise ConfigError(CONFIG_SYNTAX_ERROR % err)
[ 56s] sphinx.errors.ConfigError: There is a syntax error in your configuration file: invalid syntax (conf.py, line 61)

I'd hope we can keep heat compatible with python 2.6 for just one more release as all the other openstack component still are.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/77834

Changed in heat:
assignee: nobody → Ionuț Arțăriși (mapleoin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/77834
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=ee0018ef27e8f3f5b4d14e9bc3b66f7f4a425dab
Submitter: Jenkins
Branch: master

commit ee0018ef27e8f3f5b4d14e9bc3b66f7f4a425dab
Author: Ionuț Arțăriși <email address hidden>
Date: Tue Mar 4 11:00:29 2014 +0100

    replace dict comprehension with dict constructor

    this should make it compatible with python2.6

    Change-Id: I0f1ba0efb6f3ff47243118a2f8a7cdc7c7e72bfe
    Closes-Bug: #1287631

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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