SQLAlchemy 0.8.0

27 views
Skip to first unread message

Erik Janssens

unread,
Mar 23, 2013, 6:35:42 AM3/23/13
to project...@googlegroups.com
Hello,

SQLAlchemy 0.8.0 support has been merged into the default
branch on Bitbucket.

This is however incompatible with older SQLA versions, so if
you use the default branch, you should upgrade your SQLA
version as well.

Upgrading SQLA from 0.7.x to 0.8.0 should be straightforward.

Cheers,

Erik

Adrian Klaver

unread,
Mar 23, 2013, 5:26:31 PM3/23/13
to project...@googlegroups.com, Erik Janssens
Upgraded SQLA to 0.8.0.

Upgraded Camelot:
aklaver@panda:~/camelot> hg log -l 8
changeset: 3138:525549a07423
tag: tip
user: Erik Janssens <erik.j...@conceptive.be>
date: Sat Mar 23 16:59:00 2013 +0100
summary: at last : reached 80% coverage

....


When I run an application I get:

aklaver@panda:~/software_projects/camelot_greenhouse_app> python main.py
Traceback (most recent call last):
File "main.py", line 41, in <module>
start_application()
File "main.py", line 37, in start_application
from greenhouse_app.application_admin import MyApplicationAdmin
File
"/home/aklaver/software_projects/camelot_greenhouse_app/greenhouse_app/application_admin.py",
line 3, in <module>
from camelot.admin.application_admin import ApplicationAdmin
File "/home/aklaver/camelot/camelot/admin/application_admin.py", line
34, in <module>
from camelot.admin.action import application_action, form_action,
list_action
File "/home/aklaver/camelot/camelot/admin/action/__init__.py", line
25, in <module>
from application_action import ( ApplicationActionGuiContext,
File
"/home/aklaver/camelot/camelot/admin/action/application_action.py", line
31, in <module>
from camelot.core.orm import Session
File "/home/aklaver/camelot/camelot/core/orm/__init__.py", line 59,
in <module>
from . relationships import ( belongs_to, has_one, has_many,
File "/home/aklaver/camelot/camelot/core/orm/relationships.py", line
407, in <module>
from . entity import EntityBase
File "/home/aklaver/camelot/camelot/core/orm/entity.py", line 12, in
<module>
from sqlalchemy.ext.declarative import ( _declarative_constructor,
ImportError: cannot import name _declarative_constructor

>
> Cheers,
>
> Erik


--
Adrian Klaver
adrian...@gmail.com

Adrian Klaver

unread,
Mar 23, 2013, 5:41:32 PM3/23/13
to project...@googlegroups.com, Erik Janssens
On 03/23/2013 02:23 PM, Adrian Klaver wrote:
> On 03/23/2013 03:35 AM, Erik Janssens wrote:
> Upgraded SQLA to 0.8.0.
>
> Upgraded Camelot:
> aklaver@panda:~/camelot> hg log -l 8
> changeset: 3138:525549a07423
> tag: tip
> user: Erik Janssens <erik.j...@conceptive.be>
> date: Sat Mar 23 16:59:00 2013 +0100
> summary: at last : reached 80% coverage
>
> ....
>
>
> When I run an application I get:
>

PEBKAC, I forgot to up after the pull. Everything works now. Sorry for
the noise.
Reply all
Reply to author
Forward
0 new messages