Skip to content

Commit f26d225

Browse files
authored
Pip use psycopg2 wheel (#49982)
* use psycopg2 wheel * typo fixups
1 parent e35c0c4 commit f26d225

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ numexpr>=2.8.0
3030
openpyxl
3131
odfpy
3232
pandas-gbq
33-
psycopg2
33+
psycopg2-binary
3434
pyarrow
3535
pymysql
3636
pyreadstat

scripts/generate_pip_deps_from_conda.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222

2323
EXCLUDE = {"python", "c-compiler", "cxx-compiler"}
2424
REMAP_VERSION = {"tzdata": "2022.1"}
25-
RENAME = {"pytables": "tables", "geopandas-base": "geopandas"}
25+
RENAME = {
26+
"pytables": "tables",
27+
"geopandas-base": "geopandas",
28+
"psycopg2": "psycopg2-binary",
29+
}
2630

2731

2832
def conda_package_to_pip(package: str):

0 commit comments

Comments
 (0)