From 79b933b0302e11a8178f7590246d12098c313622 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Fri, 22 Mar 2019 19:20:45 +0000 Subject: [PATCH] Bump psycopg lower-constraint to 2.7 Earlier versions don't work with postgresql 10, which is now showing up in distros. Change-Id: I56589eb4ac55bec426d16f355398720f2994edcb Closes-Bug: 1821400 (cherry picked from commit 57333e902a3747715b2f13ea63477cc4aedc2129) --- lower-constraints.txt | 2 +- setup.cfg | 2 +- test-requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index a182845c..e16d0bea 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -39,7 +39,7 @@ pbr==2.0.0 pep8==1.5.7 pifpaf==0.10.0 prettytable==0.7.2 -psycopg2==2.6.2 +psycopg2==2.7.0 pycparser==2.18 pyflakes==0.8.1 PyMySQL==0.7.6 diff --git a/setup.cfg b/setup.cfg index b0aff33c..532860f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,7 @@ mysql = PyMySQL>=0.7.6 # MIT License # or oslo.db[postgresql] postgresql = - psycopg2>=2.6.2 # LGPL/ZPL + psycopg2>=2.7.0 # LGPL/ZPL [files] packages = diff --git a/test-requirements.txt b/test-requirements.txt index 98fdbe80..27a9e3f6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,4 +15,4 @@ os-testr>=1.0.0 # Apache-2.0 bandit>=1.1.0 # Apache-2.0 pifpaf>=0.10.0 # Apache-2.0 PyMySQL>=0.7.6 # MIT License -psycopg2>=2.6.2 # LGPL/ZPL +psycopg2>=2.7.0 # LGPL/ZPL