build(ingest): restrict latest mypy version (#3756)

This commit is contained in:
Harshal Sheth 2021-12-16 11:48:15 -05:00 committed by GitHub
parent 5b5135be0b
commit c6f3ddf077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,8 @@ plugins: Dict[str, Set[str]] = {
"oracle": sql_common | {"cx_Oracle"},
"postgres": sql_common | {"psycopg2-binary", "GeoAlchemy2"},
"redash": {"redash-toolbelt", "sql-metadata"},
"redshift": sql_common | {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2", "sqllineage"},
"redshift": sql_common
| {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2", "sqllineage"},
"redshift-usage": sql_common
| {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2"},
"sagemaker": aws_common,
@ -147,7 +148,6 @@ plugins: Dict[str, Set[str]] = {
"sqlalchemy-trino"
},
"nifi": {"requests"},
}
all_exclude_plugins: Set[str] = {
@ -183,7 +183,8 @@ base_dev_requirements = {
"flake8>=3.8.3",
"flake8-tidy-imports>=4.3.0",
"isort>=5.7.0",
"mypy>=0.901",
# Waiting for https://github.com/samuelcolvin/pydantic/pull/3175 before allowing mypy 0.920.
"mypy>=0.901,<0.920",
"pytest>=6.2.2",
"pytest-cov>=2.8.1",
"pytest-docker>=0.10.3",
@ -303,7 +304,6 @@ entry_points = {
"trino = datahub.ingestion.source.sql.trino:TrinoSource",
"starburst-trino-usage = datahub.ingestion.source.usage.starburst_trino_usage:TrinoUsageSource",
"nifi = datahub.ingestion.source.nifi:NifiSource",
],
"datahub.ingestion.sink.plugins": [
"file = datahub.ingestion.sink.file:FileSink",