New versions of SQLAlchemy in requirements
Version of SQLAlchemy changed to 0.9. Version of sqlalchemy-migrate changed to 0.9. Function cast in models was fixed. Change-Id: I4f4c5631d792ff921a3f1a52b7faa5bb4aa462db
This commit is contained in:
parent
2315f0ba9c
commit
bf37472659
@ -13,9 +13,9 @@ python-openid
|
|||||||
PyYAML>=3.1.0
|
PyYAML>=3.1.0
|
||||||
requests>=1.1
|
requests>=1.1
|
||||||
six>=1.7.0
|
six>=1.7.0
|
||||||
SQLAlchemy>=0.8,<=0.8.99
|
SQLAlchemy>=0.9.7,<=0.9.99
|
||||||
WSME>=0.6
|
WSME>=0.6
|
||||||
sqlalchemy-migrate>=0.8.2,!=0.8.4
|
sqlalchemy-migrate>=0.9.1,!=0.9.2
|
||||||
SQLAlchemy-FullText-Search
|
SQLAlchemy-FullText-Search
|
||||||
eventlet>=0.13.0
|
eventlet>=0.13.0
|
||||||
stevedore>=1.0.0
|
stevedore>=1.0.0
|
||||||
|
@ -340,7 +340,7 @@ def _story_build_summary_query():
|
|||||||
).label('status')
|
).label('status')
|
||||||
)
|
)
|
||||||
for task_status in Task.TASK_STATUSES:
|
for task_status in Task.TASK_STATUSES:
|
||||||
select_items.append(func.cast(
|
select_items.append(expr.cast(
|
||||||
func.sum(Task.status == task_status), Integer
|
func.sum(Task.status == task_status), Integer
|
||||||
).label(task_status))
|
).label(task_status))
|
||||||
select_items.append(expr.null().label('task_statuses'))
|
select_items.append(expr.null().label('task_statuses'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user