diff --git a/invenio_oauthclient/models.py b/invenio_oauthclient/models.py index 7871a7fe..84ba2b1e 100644 --- a/invenio_oauthclient/models.py +++ b/invenio_oauthclient/models.py @@ -30,7 +30,7 @@ from sqlalchemy.ext.mutable import MutableDict from sqlalchemy.orm import backref from sqlalchemy_utils import JSONType -from sqlalchemy_utils.types.encrypted import EncryptedType +from sqlalchemy_utils.types.encrypted.encrypted_type import EncryptedType def _secret_key(): diff --git a/setup.py b/setup.py index ccbc8151..df5435a4 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,7 @@ 'pytest-pep8>=1.0.6', 'pytest>=2.8.3', 'simplejson>=3.8', + 'SQLAlchemy-Utils~=0.0,>=0.33.0.', ] extras_require = {