Skip to content

Commit

Permalink
fix: pg py dependency problem (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
csunny authored Mar 26, 2024
1 parent fcc325d commit 340a9fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,16 @@ def all_datasource_requires():
setup_spec.extras["datasource"] = [
# "sqlparse==0.4.4",
"pymysql",
"psycopg2",
# for doris
# mysqlclient 2.2.x have pkg-config issue on 3.10+
"mysqlclient==2.1.0",
]
setup_spec.extras["datasource_all"] = setup_spec.extras["datasource"] + [
"pyspark",
"pymssql",
# install psycopg2-binary when you are in a virtual environment
# pip install psycopg2-binary
"psycopg2",
# pydoris is too old, we should find a new package to replace it.
"pydoris>=1.0.2,<2.0.0",
"clickhouse-connect",
Expand Down

0 comments on commit 340a9fb

Please sign in to comment.