From e689f31eafd11370bc20ce6b6d1e664d3f393b3a Mon Sep 17 00:00:00 2001 From: Andres Vazquez Date: Tue, 12 Jan 2021 16:20:59 -0300 Subject: [PATCH] Testing path for SQLAlchemy update --- ckan/model/meta.py | 4 ++-- requirements.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ckan/model/meta.py b/ckan/model/meta.py index 7d677a7d726..0b89c75e246 100644 --- a/ckan/model/meta.py +++ b/ckan/model/meta.py @@ -74,8 +74,8 @@ def before_commit(self, session): session.execute( revision_table.update().where( and_(revision_table.c.id == obj.id, - revision_table.c.current == '1') - ).values(current='0') + revision_table.c.current == True) + ).values(current=False) ) q = session.query(revision_cls) diff --git a/requirements.in b/requirements.in index 4d45a9859f4..2de14061928 100644 --- a/requirements.in +++ b/requirements.in @@ -27,11 +27,11 @@ Routes==1.13 rq==0.6.0 simplejson==3.10.0 sqlalchemy-migrate==0.10.0 -SQLAlchemy==1.1.11 +SQLAlchemy==1.3.19 sqlparse==0.2.2 tzlocal==1.3 unicodecsv>=0.9 -vdm==0.14 +vdm==0.15 WebHelpers==1.3 WebOb==1.0.8 WebTest==1.4.3 # need to pin this so that Pylons does not install a newer version that conflicts with WebOb==1.0.8