Comment 4 for bug 1199435

Revision history for this message
Lei Zhang (redheadflyundershadow) wrote : Re: [Bug 1199435] Re: heat doesn't work with SQLAlchemy >= 0.8

Hi, Thomas
    I already commit code to https://review.openstack.org/40330
and you can test with it.

Regards
Lei

On Tue, Aug 6, 2013 at 10:15 AM, OpenStack Hudson <
<email address hidden>> wrote:

> Fix proposed to branch: master
> Review: https://review.openstack.org/40330
>
> ** Changed in: heat
> Status: Triaged => In Progress
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1199435
>
> Title:
> heat doesn't work with SQLAlchemy >= 0.8
>
> Status in Orchestration API (Heat):
> In Progress
>
> Bug description:
> Hi,
>
> Since python-sqlalchemy 0.8.2 was uploaded to Debian Sid, 167 heat
> unit tests are failing:
>
> File
> "/home/zigo/sources/openstack/grizzly/heat/build-area/heat-2013.1.2/heat/db/utils.py",
> line 36, in __get_backend
> self.__backend = __import__(name, None, None, fromlist)
> File
> "/home/zigo/sources/openstack/grizzly/heat/build-area/heat-2013.1.2/heat/db/sqlalchemy/api.py",
> line 20, in <module>
> from heat.db.sqlalchemy import models
> File
> "/home/zigo/sources/openstack/grizzly/heat/build-area/heat-2013.1.2/heat/db/sqlalchemy/models.py",
> line 32, in <module>
> class Json(types.TypeDecorator, types.MutableType):
> AttributeError: 'module' object has no attribute 'MutableType'
>
> Indeed, the following is wrong:
> class Json(types.TypeDecorator, types.MutableType):
>
> MutableType is completely gone from SQLAlchemy, and should have never
> been used.
>
> Note that this affects both the Grizzly and Havana branches of Heat,
> therefore leaving Sid users with no solution to run Heat. Note that
> reverting the python-sqlalchemy upload in Debian Sid isn't an option,
> and that the fix should really happen in Heat.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/heat/+bug/1199435/+subscriptions
>