From c0cfc9f29b1e8ac1099a135ff7acf327576691fd Mon Sep 17 00:00:00 2001 From: Murtuza Zabuawala Date: Wed, 4 Apr 2018 12:59:05 +0100 Subject: [PATCH] SQLAlchemy stopped supporting Python 2.6. --- pkg/pip/setup_pip.py | 6 ++++-- requirements.txt | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg/pip/setup_pip.py b/pkg/pip/setup_pip.py index f1794609c..af06b4052 100644 --- a/pkg/pip/setup_pip.py +++ b/pkg/pip/setup_pip.py @@ -91,7 +91,8 @@ setup( "Flask-Script", "psycopg2==2.7.3.2", "pycrypto==2.6.1", - "python-dateutil==2.5.0" + "python-dateutil==2.5.0", + "SQLAlchemy==1.0.14" ], ":python_version<='2.7'": [ "backports.csv", "importlib" @@ -100,7 +101,8 @@ setup( "Flask-HTMLmin", "psycopg2>=2.7.3.2", "pycryptodome", - "python-dateutil>=2.7.1" + "python-dateutil>=2.7.1", + "SQLAlchemy>=1.2.5" ] }, diff --git a/requirements.txt b/requirements.txt index 2b8f305f2..cab1c247c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,6 @@ pytz==2018.3 simplejson==3.13.2 six>=1.11.0 speaklater==1.3 -SQLAlchemy==1.2.5 sqlparse==0.2.4 WTForms==2.1 Flask-Paranoid==0.2.0 @@ -37,6 +36,7 @@ psycopg2>=2.7.4; python_version >= '2.7' pycryptodome; python_version >= '2.7' python-dateutil>=2.7.1; python_version >= '2.7' Flask-HTMLmin==1.3.2; python_version >= '2.7' +SQLAlchemy>=1.2.5 python_version >= '2.7' ############################################################### # Modules specifically required for Python2.7 or lesser version @@ -52,3 +52,4 @@ pycrypto==2.6.1; python_version < '2.7' Flask-Script==2.0.5; python_version < '2.7' ordereddict; python_version < '2.7' python-dateutil==2.5.0; python_version < '2.7' +SQLAlchemy==1.0.14; python_version < '2.7'