diff --git a/flask_migrate/__init__.py b/flask_migrate/__init__.py index 4e58a9b..dfe0ac3 100755 --- a/flask_migrate/__init__.py +++ b/flask_migrate/__init__.py @@ -11,7 +11,7 @@ from alembic import __version__ as __alembic_version__ from alembic.config import Config as AlembicConfig from alembic import command -from alembic.util.exc import CommandError +from alembic.util import CommandError alembic_version = tuple([int(v) for v in __alembic_version__.split('.')[0:3]]) log = logging.getLogger(__name__) diff --git a/setup.py b/setup.py index 0a310a8..5e80bb8 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ install_requires=[ 'Flask>=0.9', 'Flask-SQLAlchemy>=1.0', - 'alembic>=0.6' + 'alembic>=0.7' ], tests_require=[ 'Flask-Script>=0.6'