mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-14 03:26:47 +00:00
fix(ingest): pin sqlparse version (#7847)
This commit is contained in:
parent
11d6fe2f20
commit
cf7eb570a0
@ -121,7 +121,14 @@ sql_common = {
|
|||||||
"greenlet",
|
"greenlet",
|
||||||
}
|
}
|
||||||
|
|
||||||
sqllineage_lib = "sqllineage==1.3.6"
|
sqllineage_lib = {
|
||||||
|
"sqllineage==1.3.6",
|
||||||
|
# We don't have a direct dependency on sqlparse but it is a dependency of sqllineage.
|
||||||
|
# As per https://github.com/reata/sqllineage/issues/361
|
||||||
|
# and https://github.com/reata/sqllineage/pull/360
|
||||||
|
# sqllineage has compat issues with sqlparse 0.4.4.
|
||||||
|
"sqlparse==0.4.1",
|
||||||
|
}
|
||||||
|
|
||||||
aws_common = {
|
aws_common = {
|
||||||
# AWS Python SDK
|
# AWS Python SDK
|
||||||
@ -144,7 +151,7 @@ looker_common = {
|
|||||||
# See https://github.com/joshtemple/lkml/issues/73.
|
# See https://github.com/joshtemple/lkml/issues/73.
|
||||||
"lkml>=1.3.0b5",
|
"lkml>=1.3.0b5",
|
||||||
"sql-metadata==2.2.2",
|
"sql-metadata==2.2.2",
|
||||||
sqllineage_lib,
|
*sqllineage_lib,
|
||||||
"GitPython>2",
|
"GitPython>2",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,7 +172,7 @@ redshift_common = {
|
|||||||
"sqlalchemy-redshift",
|
"sqlalchemy-redshift",
|
||||||
"psycopg2-binary",
|
"psycopg2-binary",
|
||||||
"GeoAlchemy2",
|
"GeoAlchemy2",
|
||||||
sqllineage_lib,
|
*sqllineage_lib,
|
||||||
*path_spec_common,
|
*path_spec_common,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,7 +262,7 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"gql>=3.3.0",
|
"gql>=3.3.0",
|
||||||
"gql[requests]>=3.3.0",
|
"gql[requests]>=3.3.0",
|
||||||
},
|
},
|
||||||
"great-expectations": sql_common | {sqllineage_lib},
|
"great-expectations": sql_common | sqllineage_lib,
|
||||||
# Source plugins
|
# Source plugins
|
||||||
# PyAthena is pinned with exact version because we use private method in PyAthena
|
# PyAthena is pinned with exact version because we use private method in PyAthena
|
||||||
"athena": sql_common | {"PyAthena[SQLAlchemy]==2.4.1"},
|
"athena": sql_common | {"PyAthena[SQLAlchemy]==2.4.1"},
|
||||||
@ -263,7 +270,7 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"bigquery": sql_common
|
"bigquery": sql_common
|
||||||
| bigquery_common
|
| bigquery_common
|
||||||
| {
|
| {
|
||||||
sqllineage_lib,
|
*sqllineage_lib,
|
||||||
"sql_metadata",
|
"sql_metadata",
|
||||||
"sqlalchemy-bigquery>=1.4.1",
|
"sqlalchemy-bigquery>=1.4.1",
|
||||||
"google-cloud-datacatalog-lineage==0.2.0",
|
"google-cloud-datacatalog-lineage==0.2.0",
|
||||||
@ -271,7 +278,7 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"bigquery-beta": sql_common
|
"bigquery-beta": sql_common
|
||||||
| bigquery_common
|
| bigquery_common
|
||||||
| {
|
| {
|
||||||
sqllineage_lib,
|
*sqllineage_lib,
|
||||||
"sql_metadata",
|
"sql_metadata",
|
||||||
"sqlalchemy-bigquery>=1.4.1",
|
"sqlalchemy-bigquery>=1.4.1",
|
||||||
}, # deprecated, but keeping the extra for backwards compatibility
|
}, # deprecated, but keeping the extra for backwards compatibility
|
||||||
@ -321,8 +328,8 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"ldap": {"python-ldap>=2.4"},
|
"ldap": {"python-ldap>=2.4"},
|
||||||
"looker": looker_common,
|
"looker": looker_common,
|
||||||
"lookml": looker_common,
|
"lookml": looker_common,
|
||||||
"metabase": {"requests", sqllineage_lib},
|
"metabase": {"requests"} | sqllineage_lib,
|
||||||
"mode": {"requests", sqllineage_lib, "tenacity>=8.0.1"},
|
"mode": {"requests", "tenacity>=8.0.1"} | sqllineage_lib,
|
||||||
"mongodb": {"pymongo[srv]>=3.11", "packaging"},
|
"mongodb": {"pymongo[srv]>=3.11", "packaging"},
|
||||||
"mssql": sql_common | {"sqlalchemy-pytds>=0.3"},
|
"mssql": sql_common | {"sqlalchemy-pytds>=0.3"},
|
||||||
"mssql-odbc": sql_common | {"pyodbc"},
|
"mssql-odbc": sql_common | {"pyodbc"},
|
||||||
@ -336,7 +343,7 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"presto-on-hive": sql_common
|
"presto-on-hive": sql_common
|
||||||
| {"psycopg2-binary", "acryl-pyhive[hive]>=0.6.12", "pymysql>=1.0.2"},
|
| {"psycopg2-binary", "acryl-pyhive[hive]>=0.6.12", "pymysql>=1.0.2"},
|
||||||
"pulsar": {"requests"},
|
"pulsar": {"requests"},
|
||||||
"redash": {"redash-toolbelt", "sql-metadata", sqllineage_lib},
|
"redash": {"redash-toolbelt", "sql-metadata"} | sqllineage_lib,
|
||||||
"redshift": sql_common | redshift_common | usage_common | {"redshift-connector"},
|
"redshift": sql_common | redshift_common | usage_common | {"redshift-connector"},
|
||||||
"redshift-legacy": sql_common | redshift_common,
|
"redshift-legacy": sql_common | redshift_common,
|
||||||
"redshift-usage-legacy": sql_common | usage_common | redshift_common,
|
"redshift-usage-legacy": sql_common | usage_common | redshift_common,
|
||||||
@ -354,7 +361,7 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"great_expectations",
|
"great_expectations",
|
||||||
"greenlet",
|
"greenlet",
|
||||||
},
|
},
|
||||||
"tableau": {"tableauserverclient>=0.17.0", sqllineage_lib},
|
"tableau": {"tableauserverclient>=0.17.0"} | sqllineage_lib,
|
||||||
"trino": sql_common | trino,
|
"trino": sql_common | trino,
|
||||||
"starburst-trino-usage": sql_common | usage_common | trino,
|
"starburst-trino-usage": sql_common | usage_common | trino,
|
||||||
"nifi": {"requests", "packaging"},
|
"nifi": {"requests", "packaging"},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user