From 594df9aeb05759a2cdb1656e2e0b47ebdd762114 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Tue, 12 Jan 2021 20:52:43 +0000 Subject: [PATCH] use psycopg2 binary instead of source package this change replaces psycopg2 with psycopg2-binary to avoid requiring the build depencyies for the postgres client. instead the tests now use the prebuilt binary wheel. Change-Id: Id6d920508b9ee9597a51616e66c47d4cb7f48ca0 --- lower-constraints.txt | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index 04af416aa660..5f64be28fbc4 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -99,7 +99,7 @@ pluggy==0.6.0 ply==3.11 prettytable==0.7.1 psutil==3.2.2 -psycopg2==2.8 +psycopg2-binary==2.8 py==1.5.2 pyasn1==0.4.2 pyasn1-modules==0.2.1 diff --git a/test-requirements.txt b/test-requirements.txt index 98b2a0e2bce2..9f695c612463 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,7 @@ coverage!=4.4,>=4.0 # Apache-2.0 ddt>=1.2.1 # MIT fixtures>=3.0.0 # Apache-2.0/BSD mock>=3.0.0 # BSD -psycopg2>=2.8 # LGPL/ZPL +psycopg2-binary>=2.8 # LGPL/ZPL PyMySQL>=0.8.0 # MIT License python-barbicanclient>=4.5.2 # Apache-2.0 python-ironicclient>=3.0.0 # Apache-2.0