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..2bfdc691 100644 --- a/setup.py +++ b/setup.py @@ -33,6 +33,7 @@ tests_require = [ 'SQLAlchemy-Continuum>=1.2.1', + 'SQLAlchemy-Utils~=0.0,>=0.33.0.', 'check-manifest>=0.25', 'coverage>=4.0', 'httpretty>=0.8.14',