From 77b950c16a2a05876e42c479c2de60712cffaacb Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Wed, 30 Nov 2022 19:59:16 -0800 Subject: [PATCH 1/2] use psycopg2 wheel --- requirements-dev.txt | 2 +- scripts/generate_pip_deps_from_conda.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index eac825493845c..1a4895c3d96c2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,7 +30,7 @@ numexpr>=2.8.0 openpyxl odfpy pandas-gbq -psycopg2 +psycogp2-binary pyarrow pymysql pyreadstat diff --git a/scripts/generate_pip_deps_from_conda.py b/scripts/generate_pip_deps_from_conda.py index 2ab45b32dee93..91a645701f213 100755 --- a/scripts/generate_pip_deps_from_conda.py +++ b/scripts/generate_pip_deps_from_conda.py @@ -22,7 +22,11 @@ EXCLUDE = {"python", "c-compiler", "cxx-compiler"} REMAP_VERSION = {"tzdata": "2022.1"} -RENAME = {"pytables": "tables", "geopandas-base": "geopandas"} +RENAME = { + "pytables": "tables", + "geopandas-base": "geopandas", + "psycopg2": "psycogp2-binary", +} def conda_package_to_pip(package: str): From 5def1a23df79f05c58849e1e4a393802207b3f42 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Wed, 30 Nov 2022 21:19:41 -0800 Subject: [PATCH 2/2] typo fixups --- requirements-dev.txt | 2 +- scripts/generate_pip_deps_from_conda.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 1a4895c3d96c2..19ed830eca07e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,7 +30,7 @@ numexpr>=2.8.0 openpyxl odfpy pandas-gbq -psycogp2-binary +psycopg2-binary pyarrow pymysql pyreadstat diff --git a/scripts/generate_pip_deps_from_conda.py b/scripts/generate_pip_deps_from_conda.py index 91a645701f213..f25ac9a24b98b 100755 --- a/scripts/generate_pip_deps_from_conda.py +++ b/scripts/generate_pip_deps_from_conda.py @@ -25,7 +25,7 @@ RENAME = { "pytables": "tables", "geopandas-base": "geopandas", - "psycopg2": "psycogp2-binary", + "psycopg2": "psycopg2-binary", }