From 947c05ff2e328079318188084f5ea6d01f940b0c Mon Sep 17 00:00:00 2001 From: kaxil Date: Tue, 31 Dec 2019 14:44:03 +0000 Subject: [PATCH] Use psycopg2 instead of psycopg2-binary for postgres https://github.com/psycopg/psycopg2/issues/684#issuecomment-369204062 - Not supported on Alpine (cherry picked from commit f9822ea19863c34a995df1af40a11e85182b5ea5) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d30d69ab603de..c1c0fefd293c7 100644 --- a/setup.py +++ b/setup.py @@ -299,7 +299,7 @@ def write_version(filename=os.path.join(*["airflow", "git_version"])): 'pinotdb==0.1.1', ] postgres = [ - 'psycopg2-binary>=2.7.4', + 'psycopg2>=2.7.4', ] presto = [ 'presto-python-client>=0.7.0,<0.8'