Minor: Updated Python Dependency for GreenPlum (#16139)

This commit is contained in:
Prajwal214 2024-05-09 08:57:25 +05:30 committed by GitHub
parent 4136ff9be7
commit e191034c18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,6 +81,12 @@ COMMONS = {
], # grpcio-tools already depends on grpcio. No need to add separately ], # grpcio-tools already depends on grpcio. No need to add separately
"protobuf", "protobuf",
}, },
"postgres": {
VERSIONS["pymysql"],
"psycopg2-binary",
VERSIONS["geoalchemy2"],
VERSIONS["packaging"],
}, # Adding as Postgres SQL & GreenPlum are using common packages.
} }
@ -184,6 +190,7 @@ plugins: Dict[str, Set[str]] = {
}, # also requires requests-aws4auth which is in base }, # also requires requests-aws4auth which is in base
"glue": {VERSIONS["boto3"]}, "glue": {VERSIONS["boto3"]},
"great-expectations": {VERSIONS["great-expectations"]}, "great-expectations": {VERSIONS["great-expectations"]},
"greenplum": {*COMMONS["postgres"]},
"hive": { "hive": {
*COMMONS["hive"], *COMMONS["hive"],
"thrift>=0.13,<1", "thrift>=0.13,<1",
@ -226,12 +233,7 @@ plugins: Dict[str, Set[str]] = {
"oracle": {"cx_Oracle>=8.3.0,<9", "oracledb~=1.2"}, "oracle": {"cx_Oracle>=8.3.0,<9", "oracledb~=1.2"},
"pgspider": {"psycopg2-binary", "sqlalchemy-pgspider"}, "pgspider": {"psycopg2-binary", "sqlalchemy-pgspider"},
"pinotdb": {"pinotdb~=0.3"}, "pinotdb": {"pinotdb~=0.3"},
"postgres": { "postgres": {*COMMONS["postgres"]},
VERSIONS["pymysql"],
"psycopg2-binary",
VERSIONS["geoalchemy2"],
VERSIONS["packaging"],
},
"powerbi": { "powerbi": {
VERSIONS["msal"], VERSIONS["msal"],
VERSIONS["boto3"], VERSIONS["boto3"],