diff --git a/requirements-dev.txt b/requirements-dev.txt index eac825493845c..19ed830eca07e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,7 +30,7 @@ numexpr>=2.8.0 openpyxl odfpy pandas-gbq -psycopg2 +psycopg2-binary pyarrow pymysql pyreadstat diff --git a/scripts/generate_pip_deps_from_conda.py b/scripts/generate_pip_deps_from_conda.py index 2ab45b32dee93..f25ac9a24b98b 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": "psycopg2-binary", +} def conda_package_to_pip(package: str):