From 682f4629e68c0563bb038c1e30d4e04c4ee72758 Mon Sep 17 00:00:00 2001 From: Ben Smithgall Date: Mon, 13 Apr 2015 13:39:09 -0700 Subject: [PATCH] Fix breaking change from Flask-Migrate Flask-Migrate was recently patched to version 1.3.1 because [alembic versions can now include parts that are not integers](https://github.com/miguelgrinberg/Flask-Migrate/pull/51). Requiring Flask-Migrate 1.3.0 installs a version of alembic that results in the following error message on startup: `ValueError: invalid literal for int() with base 10: 'post2'` Changing the requirements to install Flask-Migrate 1.3.1 fixes this problem. --- {{cookiecutter.app_name}}/requirements/prod.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}/requirements/prod.txt b/{{cookiecutter.app_name}}/requirements/prod.txt index 40f11da..d7b8734 100644 --- a/{{cookiecutter.app_name}}/requirements/prod.txt +++ b/{{cookiecutter.app_name}}/requirements/prod.txt @@ -12,7 +12,7 @@ Flask-SQLAlchemy==2.0 SQLAlchemy==0.9.8 # Migrations -Flask-Migrate==1.3.0 +Flask-Migrate==1.3.1 # Forms Flask-WTF==0.10.3