From 88a8e8ddcb484d1aa40ec334bccf772c5967623c Mon Sep 17 00:00:00 2001 From: Isaku Yamahata <isaku.yamahata@intel.com> Date: Mon, 3 Apr 2017 14:19:51 -0700 Subject: [PATCH] avoid bug of sqlalchemy 1.1.5 - 1.1.8 There is a bug of sqlalchemy reported below. https://bitbucket.org/zzzeek/sqlalchemy/issues/3952/ Which affects CI. The bug was introduced from 1.1.5. The fix is in sqlalchemy master repo and planned for 1.1.9. (which isn't released yet) Change-Id: I6f33e8b92aeb4ba4beb7a12d0f7c88615102d2cd Closes-Bug: #1678280 --- global-requirements.txt | 6 +++++- upper-constraints-xfails.txt | 2 +- upper-constraints.txt | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/global-requirements.txt b/global-requirements.txt index 82aa41703d..8af9b72449 100644 --- a/global-requirements.txt +++ b/global-requirements.txt @@ -280,7 +280,11 @@ simplejson>=2.2.0 # MIT six>=1.9.0 # MIT scipy>=0.17.1 # BSD scikit-learn>=0.17.1 # BSD -SQLAlchemy>=1.0.10 # MIT +# NOTE(yamahata): +# bug work around of sqlalchemy +# https://bitbucket.org/zzzeek/sqlalchemy/issues/3952/ +# The fix which is in git master branch is planned for 1.1.9 +SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8 # MIT SQLAlchemy-Utils # BSD License sqlalchemy-migrate>=0.9.6 # Apache-2.0 sqlparse>=0.2.2 # BSD diff --git a/upper-constraints-xfails.txt b/upper-constraints-xfails.txt index 1a69314b90..a156c74741 100644 --- a/upper-constraints-xfails.txt +++ b/upper-constraints-xfails.txt @@ -3,4 +3,4 @@ pyparsing==2.2.0;pulp psutil==5.2.0;os-refresh-config -SQLAlchemy==1.1.8;mistral +SQLAlchemy==1.1.9;mistral diff --git a/upper-constraints.txt b/upper-constraints.txt index 1bc2441f4e..393969a488 100644 --- a/upper-constraints.txt +++ b/upper-constraints.txt @@ -124,7 +124,7 @@ tablib===0.11.4 astroid===1.3.8 virtualbmc===1.1.0 deprecation===1.0 -SQLAlchemy===1.1.8 +SQLAlchemy===1.1.9 pyroute2===0.4.13 kazoo===2.2.1 XStatic-roboto-fontface===0.5.0.0