From 64933dbfa3b074e32a9cb221b5189087935c394b Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Fri, 29 Apr 2016 13:42:35 +0300 Subject: [PATCH] Fix SA import issue, refs #215 --- CHANGES.rst | 6 ++++++ sqlalchemy_utils/__init__.py | 2 +- sqlalchemy_utils/types/ltree.py | 7 ++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index c75a3b4..96e8562 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,12 @@ Changelog Here you can see the full list of changes between each SQLAlchemy-Utils release. +0.32.5 (2016-04-29) +^^^^^^^^^^^^^^^^^^^ + +- Fixed import issue with latest version of SQLAlchemy (#215) + + 0.32.4 (2016-04-25) ^^^^^^^^^^^^^^^^^^^ diff --git a/sqlalchemy_utils/__init__.py b/sqlalchemy_utils/__init__.py index 7ee2a6b..f2be716 100644 --- a/sqlalchemy_utils/__init__.py +++ b/sqlalchemy_utils/__init__.py @@ -94,4 +94,4 @@ from .types import ( # noqa WeekDaysType ) -__version__ = '0.32.4' +__version__ = '0.32.5' diff --git a/sqlalchemy_utils/types/ltree.py b/sqlalchemy_utils/types/ltree.py index 49c07a6..5f546de 100644 --- a/sqlalchemy_utils/types/ltree.py +++ b/sqlalchemy_utils/types/ltree.py @@ -1,11 +1,8 @@ from __future__ import absolute_import from sqlalchemy import types -from sqlalchemy.dialects.postgresql.base import ( - ARRAY, - ischema_names, - PGTypeCompiler -) +from sqlalchemy.dialects.postgresql import ARRAY +from sqlalchemy.dialects.postgresql.base import ischema_names, PGTypeCompiler from sqlalchemy.sql import expression from ..primitives import Ltree