| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  | import os | 
					
						
							| 
									
										
										
										
											2022-11-03 14:23:19 -04:00
										 |  |  | import sys | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  | from typing import Dict, Set | 
					
						
							| 
									
										
										
										
											2021-02-11 23:14:20 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  | import setuptools | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  | package_metadata: dict = {} | 
					
						
							|  |  |  | with open("./src/datahub/__init__.py") as fp: | 
					
						
							|  |  |  |     exec(fp.read(), package_metadata) | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | def get_long_description(): | 
					
						
							|  |  |  |     root = os.path.dirname(__file__) | 
					
						
							|  |  |  |     with open(os.path.join(root, "README.md")) as f: | 
					
						
							|  |  |  |         description = f.read() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     return description | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | base_requirements = { | 
					
						
							| 
									
										
										
										
											2022-05-09 18:43:49 +02:00
										 |  |  |     # Typing extension should be >=3.10.0.2 ideally but we can't restrict due to Airflow 2.0.2 dependency conflict | 
					
						
							|  |  |  |     "typing_extensions>=3.7.4.3 ;  python_version < '3.8'", | 
					
						
							|  |  |  |     "typing_extensions>=3.10.0.2 ;  python_version >= '3.8'", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "mypy_extensions>=0.4.3", | 
					
						
							|  |  |  |     # Actual dependencies. | 
					
						
							| 
									
										
										
										
											2021-04-01 12:15:05 -07:00
										 |  |  |     "typing-inspect", | 
					
						
							| 
									
										
										
										
											2023-01-04 19:31:04 -05:00
										 |  |  |     # pydantic 1.10.3 is incompatible with typing-extensions 4.1.1 - https://github.com/pydantic/pydantic/issues/4885 | 
					
						
							|  |  |  |     "pydantic>=1.5.1,!=1.10.3", | 
					
						
							| 
									
										
										
										
											2022-02-24 15:35:48 -05:00
										 |  |  |     "mixpanel>=4.9.0", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | framework_common = { | 
					
						
							| 
									
										
										
										
											2022-11-01 21:12:34 -07:00
										 |  |  |     "click>=7.1.2", | 
					
						
							| 
									
										
										
										
											2021-07-29 20:04:40 -07:00
										 |  |  |     "click-default-group", | 
					
						
							| 
									
										
										
										
											2021-04-12 17:40:15 -07:00
										 |  |  |     "PyYAML", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "toml>=0.10.0", | 
					
						
							| 
									
										
										
										
											2021-04-22 00:13:47 -07:00
										 |  |  |     "entrypoints", | 
					
						
							| 
									
										
										
										
											2021-04-12 17:40:15 -07:00
										 |  |  |     "docker", | 
					
						
							| 
									
										
										
										
											2021-03-26 21:57:05 -07:00
										 |  |  |     "expandvars>=0.6.5", | 
					
						
							| 
									
										
										
										
											2022-12-13 02:17:24 -05:00
										 |  |  |     "avro-gen3==0.7.8", | 
					
						
							| 
									
										
										
										
											2022-08-29 23:34:58 +00:00
										 |  |  |     # "avro-gen3 @ git+https://github.com/acryldata/avro_gen@master#egg=avro-gen3", | 
					
						
							| 
									
										
										
										
											2022-02-04 07:32:38 -08:00
										 |  |  |     "avro>=1.10.2,<1.11", | 
					
						
							| 
									
										
										
										
											2021-08-21 18:41:28 -07:00
										 |  |  |     "python-dateutil>=2.8.0", | 
					
						
							| 
									
										
										
										
											2021-07-29 20:04:40 -07:00
										 |  |  |     "tabulate", | 
					
						
							| 
									
										
										
										
											2021-11-07 22:13:50 -08:00
										 |  |  |     "progressbar2", | 
					
						
							| 
									
										
										
										
											2022-11-29 16:54:24 +05:30
										 |  |  |     "termcolor>=1.0.0", | 
					
						
							| 
									
										
										
										
											2022-02-08 23:25:12 -08:00
										 |  |  |     "psutil>=5.8.0", | 
					
						
							| 
									
										
										
										
											2022-05-23 20:14:36 +05:30
										 |  |  |     "ratelimiter", | 
					
						
							| 
									
										
										
										
											2022-03-02 11:36:37 +05:30
										 |  |  |     "Deprecated", | 
					
						
							| 
									
										
										
										
											2022-06-04 09:34:17 -07:00
										 |  |  |     "humanfriendly", | 
					
						
							| 
									
										
										
										
											2022-06-06 16:34:23 -07:00
										 |  |  |     "packaging", | 
					
						
							| 
									
										
										
										
											2022-07-16 17:38:33 -07:00
										 |  |  |     "aiohttp<4", | 
					
						
							| 
									
										
										
										
											2022-08-19 09:08:17 -07:00
										 |  |  |     "cached_property", | 
					
						
							| 
									
										
										
										
											2022-08-21 01:48:22 -07:00
										 |  |  |     "ijson", | 
					
						
							| 
									
										
										
										
											2022-08-30 13:25:03 -07:00
										 |  |  |     "click-spinner", | 
					
						
							| 
									
										
										
										
											2022-11-16 12:29:24 -06:00
										 |  |  |     "requests_file", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-02 09:24:28 -05:00
										 |  |  | rest_common = {"requests", "requests_file"} | 
					
						
							| 
									
										
										
										
											2022-11-11 15:04:36 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | kafka_common = { | 
					
						
							| 
									
										
										
										
											2022-07-26 21:43:33 +00:00
										 |  |  |     # The confluent_kafka package provides a number of pre-built wheels for | 
					
						
							|  |  |  |     # various platforms and architectures. However, it does not provide wheels | 
					
						
							|  |  |  |     # for arm64 (including M1 Macs) or aarch64 (Docker's linux/arm64). This has | 
					
						
							|  |  |  |     # remained an open issue on the confluent_kafka project for a year: | 
					
						
							|  |  |  |     #   - https://github.com/confluentinc/confluent-kafka-python/issues/1182 | 
					
						
							|  |  |  |     #   - https://github.com/confluentinc/confluent-kafka-python/pull/1161 | 
					
						
							|  |  |  |     # | 
					
						
							|  |  |  |     # When a wheel is not available, we must build from source instead. | 
					
						
							|  |  |  |     # Building from source requires librdkafka to be installed. | 
					
						
							|  |  |  |     # Most platforms have an easy way to install librdkafka: | 
					
						
							|  |  |  |     #   - MacOS: `brew install librdkafka` gives latest, which is 1.9.x or newer. | 
					
						
							|  |  |  |     #   - Debian: `apt install librdkafka` gives 1.6.0 (https://packages.debian.org/bullseye/librdkafka-dev). | 
					
						
							|  |  |  |     #   - Ubuntu: `apt install librdkafka` gives 1.8.0 (https://launchpad.net/ubuntu/+source/librdkafka). | 
					
						
							|  |  |  |     # | 
					
						
							|  |  |  |     # Moreover, confluent_kafka 1.9.0 introduced a hard compatibility break, and | 
					
						
							|  |  |  |     # requires librdkafka >=1.9.0. As such, installing confluent_kafka 1.9.x on | 
					
						
							|  |  |  |     # most arm64 Linux machines will fail, since it will build from source but then | 
					
						
							|  |  |  |     # fail because librdkafka is too old. Hence, we have added an extra requirement | 
					
						
							|  |  |  |     # that requires confluent_kafka<1.9.0 on non-MacOS arm64/aarch64 machines, which | 
					
						
							|  |  |  |     # should ideally allow the builds to succeed in default conditions. We still | 
					
						
							|  |  |  |     # want to allow confluent_kafka >= 1.9.0 for M1 Macs, which is why we can't | 
					
						
							|  |  |  |     # broadly restrict confluent_kafka to <1.9.0. | 
					
						
							|  |  |  |     # | 
					
						
							|  |  |  |     # Note that this is somewhat of a hack, since we don't actually require the | 
					
						
							|  |  |  |     # older version of confluent_kafka on those machines. Additionally, we will | 
					
						
							|  |  |  |     # need monitor the Debian/Ubuntu PPAs and modify this rule if they start to | 
					
						
							|  |  |  |     # support librdkafka >= 1.9.0. | 
					
						
							|  |  |  |     "confluent_kafka>=1.5.0", | 
					
						
							|  |  |  |     'confluent_kafka<1.9.0; platform_system != "Darwin" and (platform_machine == "aarch64" or platform_machine == "arm64")', | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     # We currently require both Avro libraries. The codegen uses avro-python3 (above) | 
					
						
							|  |  |  |     # schema parsers at runtime for generating and reading JSON into Python objects. | 
					
						
							|  |  |  |     # At the same time, we use Kafka's AvroSerializer, which internally relies on | 
					
						
							|  |  |  |     # fastavro for serialization. We do not use confluent_kafka[avro], since it | 
					
						
							|  |  |  |     # is incompatible with its own dep on avro-python3. | 
					
						
							| 
									
										
										
										
											2021-04-12 17:40:15 -07:00
										 |  |  |     "fastavro>=1.2.0", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  | kafka_protobuf = { | 
					
						
							|  |  |  |     "networkx>=2.6.2", | 
					
						
							|  |  |  |     # Required to generate protobuf python modules from the schema downloaded from the schema registry | 
					
						
							| 
									
										
										
										
											2022-11-03 14:23:19 -04:00
										 |  |  |     # NOTE: potential conflict with feast also depending on grpcio | 
					
						
							|  |  |  |     "grpcio>=1.44.0,<2", | 
					
						
							|  |  |  |     "grpcio-tools>=1.44.0,<2", | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-05-04 17:07:01 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | sql_common = { | 
					
						
							|  |  |  |     # Required for all SQL sources. | 
					
						
							| 
									
										
										
										
											2022-11-11 15:04:36 -05:00
										 |  |  |     "sqlalchemy>=1.3.24, <2", | 
					
						
							| 
									
										
										
										
											2021-11-24 10:19:03 -08:00
										 |  |  |     # Required for SQL profiling. | 
					
						
							| 
									
										
										
										
											2023-01-06 18:25:36 +05:30
										 |  |  |     "great-expectations>=0.15.12, <=0.15.41", | 
					
						
							| 
									
										
										
										
											2022-11-23 11:13:30 +05:30
										 |  |  |     # scipy version restricted to reduce backtracking, used by great-expectations, | 
					
						
							|  |  |  |     "scipy>=1.7.2", | 
					
						
							| 
									
										
										
										
											2022-08-17 00:46:52 +08:00
										 |  |  |     # GE added handling for higher version of jinja2 | 
					
						
							|  |  |  |     # https://github.com/great-expectations/great_expectations/pull/5382/files | 
					
						
							| 
									
										
										
										
											2022-05-31 14:42:56 -07:00
										 |  |  |     # datahub does not depend on traitlets directly but great expectations does. | 
					
						
							|  |  |  |     # https://github.com/ipython/traitlets/issues/741 | 
					
						
							|  |  |  |     "traitlets<5.2.2", | 
					
						
							| 
									
										
										
										
											2021-11-24 10:19:03 -08:00
										 |  |  |     "greenlet", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  | sqllineage_lib = "sqllineage==1.3.6" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-29 19:43:31 -07:00
										 |  |  | aws_common = { | 
					
						
							|  |  |  |     # AWS Python SDK | 
					
						
							| 
									
										
										
										
											2021-11-08 16:23:25 -08:00
										 |  |  |     "boto3", | 
					
						
							|  |  |  |     # Deal with a version incompatibility between botocore (used by boto3) and urllib3. | 
					
						
							|  |  |  |     # See https://github.com/boto/botocore/pull/2563. | 
					
						
							|  |  |  |     "botocore!=1.23.0", | 
					
						
							| 
									
										
										
										
											2021-06-29 19:43:31 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-29 16:25:48 +02:00
										 |  |  | path_spec_common = { | 
					
						
							|  |  |  |     "parse>=1.19.0", | 
					
						
							|  |  |  |     "wcmatch", | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-16 23:09:45 -07:00
										 |  |  | looker_common = { | 
					
						
							|  |  |  |     # Looker Python SDK | 
					
						
							| 
									
										
										
										
											2022-09-13 16:40:59 -07:00
										 |  |  |     "looker-sdk==22.2.1", | 
					
						
							| 
									
										
										
										
											2022-10-23 23:31:48 -07:00
										 |  |  |     # This version of lkml contains a fix for parsing lists in | 
					
						
							|  |  |  |     # LookML files with spaces between an item and the following comma. | 
					
						
							|  |  |  |     # See https://github.com/joshtemple/lkml/issues/73. | 
					
						
							|  |  |  |     "lkml>=1.3.0b5", | 
					
						
							|  |  |  |     "sql-metadata==2.2.2", | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  |     sqllineage_lib, | 
					
						
							| 
									
										
										
										
											2022-10-23 23:31:48 -07:00
										 |  |  |     "GitPython>2", | 
					
						
							| 
									
										
										
										
											2021-09-16 23:09:45 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-25 17:50:07 -07:00
										 |  |  | bigquery_common = { | 
					
						
							| 
									
										
										
										
											2022-08-30 07:33:24 +02:00
										 |  |  |     "google-api-python-client", | 
					
						
							| 
									
										
										
										
											2021-10-25 17:50:07 -07:00
										 |  |  |     # Google cloud logging library | 
					
						
							| 
									
										
										
										
											2022-06-07 10:44:00 -07:00
										 |  |  |     "google-cloud-logging<3.1.2", | 
					
						
							| 
									
										
										
										
											2022-04-13 17:59:31 +05:30
										 |  |  |     "google-cloud-bigquery", | 
					
						
							| 
									
										
										
										
											2022-01-13 22:12:11 -08:00
										 |  |  |     "more-itertools>=8.12.0", | 
					
						
							| 
									
										
										
										
											2021-10-25 17:50:07 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-11 15:04:36 -05:00
										 |  |  | clickhouse_common = { | 
					
						
							|  |  |  |     # Clickhouse 0.1.8 requires SQLAlchemy 1.3.x, while the newer versions | 
					
						
							|  |  |  |     # allow SQLAlchemy 1.4.x. | 
					
						
							|  |  |  |     "clickhouse-sqlalchemy>=0.1.8", | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-29 16:25:48 +02:00
										 |  |  | redshift_common = { | 
					
						
							|  |  |  |     "sqlalchemy-redshift", | 
					
						
							|  |  |  |     "psycopg2-binary", | 
					
						
							|  |  |  |     "GeoAlchemy2", | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  |     sqllineage_lib, | 
					
						
							| 
									
										
										
										
											2022-06-29 16:25:48 +02:00
										 |  |  |     *path_spec_common, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-30 13:47:53 -06:00
										 |  |  | snowflake_common = { | 
					
						
							|  |  |  |     # Snowflake plugin utilizes sql common | 
					
						
							|  |  |  |     *sql_common, | 
					
						
							| 
									
										
										
										
											2022-11-14 07:44:57 -05:00
										 |  |  |     # Required for all Snowflake sources. | 
					
						
							|  |  |  |     # See https://github.com/snowflakedb/snowflake-sqlalchemy/issues/234 for why 1.2.5 is blocked. | 
					
						
							|  |  |  |     "snowflake-sqlalchemy>=1.2.4, !=1.2.5", | 
					
						
							| 
									
										
										
										
											2022-11-30 02:14:45 -05:00
										 |  |  |     # Because of https://github.com/snowflakedb/snowflake-sqlalchemy/issues/350 we need to restrict SQLAlchemy's max version. | 
					
						
							|  |  |  |     # Eventually we should just require snowflake-sqlalchemy>=1.4.3, but I won't do that immediately | 
					
						
							|  |  |  |     # because it may break Airflow users that need SQLAlchemy 1.3.x. | 
					
						
							|  |  |  |     "SQLAlchemy<1.4.42", | 
					
						
							| 
									
										
										
										
											2022-12-01 15:03:03 +05:30
										 |  |  |     # See https://github.com/snowflakedb/snowflake-connector-python/pull/1348 for why 2.8.2 is blocked | 
					
						
							|  |  |  |     "snowflake-connector-python!=2.8.2", | 
					
						
							| 
									
										
										
										
											2022-11-23 11:13:30 +05:30
										 |  |  |     "pandas", | 
					
						
							| 
									
										
										
										
											2022-02-08 23:25:12 -08:00
										 |  |  |     "cryptography", | 
					
						
							| 
									
										
										
										
											2022-06-06 17:49:49 +05:30
										 |  |  |     "msal", | 
					
						
							| 
									
										
										
										
											2022-11-25 18:48:42 +05:30
										 |  |  |     "acryl-datahub-classify>=0.0.4", | 
					
						
							| 
									
										
										
										
											2022-11-23 11:13:30 +05:30
										 |  |  |     # spacy version restricted to reduce backtracking, used by acryl-datahub-classify, | 
					
						
							|  |  |  |     "spacy==3.4.3", | 
					
						
							| 
									
										
										
										
											2022-01-30 13:47:53 -06:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-31 03:50:26 +02:00
										 |  |  | trino = { | 
					
						
							| 
									
										
										
										
											2022-10-15 00:04:11 +00:00
										 |  |  |     # Trino 0.317 broke compatibility with SQLAlchemy 1.3.24. | 
					
						
							| 
									
										
										
										
											2022-10-06 20:30:28 +00:00
										 |  |  |     # See https://github.com/trinodb/trino-python-client/issues/250. | 
					
						
							| 
									
										
										
										
											2022-10-15 00:04:11 +00:00
										 |  |  |     "trino[sqlalchemy]>=0.308, !=0.317", | 
					
						
							| 
									
										
										
										
											2022-03-31 03:50:26 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-09 00:50:09 +05:30
										 |  |  | microsoft_common = {"msal==1.16.0"} | 
					
						
							| 
									
										
										
										
											2022-03-01 07:07:22 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-16 05:30:40 +00:00
										 |  |  | iceberg_common = { | 
					
						
							|  |  |  |     # Iceberg Python SDK | 
					
						
							|  |  |  |     "acryl-iceberg-legacy==0.0.4", | 
					
						
							|  |  |  |     "azure-identity==1.10.0", | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | s3_base = { | 
					
						
							| 
									
										
										
										
											2022-02-25 02:26:06 -05:00
										 |  |  |     *aws_common, | 
					
						
							|  |  |  |     "parse>=1.19.0", | 
					
						
							|  |  |  |     "pyarrow>=6.0.1", | 
					
						
							|  |  |  |     "tableschema>=1.20.2", | 
					
						
							| 
									
										
										
										
											2022-10-13 19:48:05 +00:00
										 |  |  |     # ujson 5.2.0 has the JSONDecodeError exception type, which we need for error handling. | 
					
						
							|  |  |  |     "ujson>=5.2.0", | 
					
						
							| 
									
										
										
										
											2022-04-01 00:15:09 +02:00
										 |  |  |     "smart-open[s3]>=5.2.1", | 
					
						
							| 
									
										
										
										
											2022-08-16 05:30:40 +00:00
										 |  |  |     "moto[s3]", | 
					
						
							|  |  |  |     *path_spec_common, | 
					
						
							| 
									
										
										
										
											2022-02-25 02:26:06 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | data_lake_profiling = { | 
					
						
							| 
									
										
										
										
											2022-12-30 14:53:38 -05:00
										 |  |  |     "pydeequ>=1.0.1", | 
					
						
							| 
									
										
										
										
											2023-01-04 19:51:44 -05:00
										 |  |  |     "pyspark==3.0.3", | 
					
						
							| 
									
										
										
										
											2022-02-25 02:26:06 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-28 04:46:33 +05:30
										 |  |  | delta_lake = { | 
					
						
							|  |  |  |     *s3_base, | 
					
						
							| 
									
										
										
										
											2022-12-04 21:57:47 -06:00
										 |  |  |     "deltalake>=0.6.3, != 0.6.4", | 
					
						
							| 
									
										
										
										
											2022-06-28 04:46:33 +05:30
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-02 01:05:42 +02:00
										 |  |  | powerbi_report_server = {"requests", "requests_ntlm"} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-01 22:26:52 +05:30
										 |  |  | usage_common = { | 
					
						
							|  |  |  |     "sqlparse", | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-30 05:44:41 +01:00
										 |  |  | databricks_cli = { | 
					
						
							|  |  |  |     "databricks-cli==0.17.3", | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2022-06-29 16:25:48 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | # Note: for all of these, framework_common will be added. | 
					
						
							|  |  |  | plugins: Dict[str, Set[str]] = { | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     # Sink plugins. | 
					
						
							|  |  |  |     "datahub-kafka": kafka_common, | 
					
						
							| 
									
										
										
										
											2022-11-11 15:04:36 -05:00
										 |  |  |     "datahub-rest": rest_common, | 
					
						
							| 
									
										
										
										
											2023-01-20 01:21:24 -08:00
										 |  |  |     "datahub-lite": { | 
					
						
							| 
									
										
										
										
											2023-01-20 17:24:43 -08:00
										 |  |  |         "duckdb", | 
					
						
							| 
									
										
										
										
											2023-01-20 01:21:24 -08:00
										 |  |  |         "fastapi", | 
					
						
							|  |  |  |         "uvicorn", | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     # Integrations. | 
					
						
							| 
									
										
										
										
											2021-08-11 16:20:01 -04:00
										 |  |  |     "airflow": { | 
					
						
							| 
									
										
										
										
											2022-11-01 21:12:34 -07:00
										 |  |  |         "apache-airflow >= 2.0.2", | 
					
						
							| 
									
										
										
										
											2022-11-11 15:04:36 -05:00
										 |  |  |         *rest_common, | 
					
						
							|  |  |  |         *kafka_common, | 
					
						
							| 
									
										
										
										
											2021-08-11 16:20:01 -04:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2022-07-13 19:17:38 +02:00
										 |  |  |     "circuit-breaker": { | 
					
						
							|  |  |  |         "gql>=3.3.0", | 
					
						
							|  |  |  |         "gql[requests]>=3.3.0", | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  |     "great-expectations": sql_common | {sqllineage_lib}, | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     # Source plugins | 
					
						
							| 
									
										
										
										
											2022-02-14 22:51:45 +01:00
										 |  |  |     # PyAthena is pinned with exact version because we use private method in PyAthena | 
					
						
							|  |  |  |     "athena": sql_common | {"PyAthena[SQLAlchemy]==2.4.1"}, | 
					
						
							| 
									
										
										
										
											2021-09-02 12:24:10 -04:00
										 |  |  |     "azure-ad": set(), | 
					
						
							| 
									
										
										
										
											2022-11-28 16:55:15 -05:00
										 |  |  |     "bigquery": sql_common | 
					
						
							|  |  |  |     | bigquery_common | 
					
						
							| 
									
										
										
										
											2023-02-02 09:24:28 -05:00
										 |  |  |     | { | 
					
						
							|  |  |  |         sqllineage_lib, | 
					
						
							|  |  |  |         "sql_metadata", | 
					
						
							|  |  |  |         "sqlalchemy-bigquery>=1.4.1", | 
					
						
							|  |  |  |         "google-cloud-datacatalog-lineage==0.2.0", | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2022-10-26 20:15:44 +02:00
										 |  |  |     "bigquery-beta": sql_common | 
					
						
							|  |  |  |     | bigquery_common | 
					
						
							| 
									
										
										
										
											2022-11-01 21:12:34 -07:00
										 |  |  |     | { | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  |         sqllineage_lib, | 
					
						
							| 
									
										
										
										
											2022-11-01 21:12:34 -07:00
										 |  |  |         "sql_metadata", | 
					
						
							| 
									
										
										
										
											2022-11-28 16:55:15 -05:00
										 |  |  |         "sqlalchemy-bigquery>=1.4.1", | 
					
						
							| 
									
										
										
										
											2022-11-01 21:12:34 -07:00
										 |  |  |     },  # deprecated, but keeping the extra for backwards compatibility | 
					
						
							| 
									
										
										
										
											2022-11-11 15:04:36 -05:00
										 |  |  |     "clickhouse": sql_common | clickhouse_common, | 
					
						
							|  |  |  |     "clickhouse-usage": sql_common | usage_common | clickhouse_common, | 
					
						
							| 
									
										
										
										
											2022-02-24 20:02:38 -05:00
										 |  |  |     "datahub-lineage-file": set(), | 
					
						
							| 
									
										
										
										
											2021-09-01 15:10:12 -07:00
										 |  |  |     "datahub-business-glossary": set(), | 
					
						
							| 
									
										
										
										
											2022-06-28 04:46:33 +05:30
										 |  |  |     "delta-lake": {*data_lake_profiling, *delta_lake}, | 
					
						
							| 
									
										
										
										
											2022-08-19 09:08:17 -07:00
										 |  |  |     "dbt": {"requests"} | aws_common, | 
					
						
							| 
									
										
										
										
											2022-11-21 14:14:33 -05:00
										 |  |  |     "dbt-cloud": {"requests"}, | 
					
						
							| 
									
										
										
										
											2021-06-09 15:07:04 -07:00
										 |  |  |     "druid": sql_common | {"pydruid>=0.6.2"}, | 
					
						
							| 
									
										
										
										
											2022-02-19 11:44:32 -08:00
										 |  |  |     # Starting with 7.14.0 python client is checking if it is connected to elasticsearch client. If its not it throws | 
					
						
							|  |  |  |     # UnsupportedProductError | 
					
						
							|  |  |  |     # https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/release-notes.html#rn-7-14-0 | 
					
						
							|  |  |  |     # https://github.com/elastic/elasticsearch-py/issues/1639#issuecomment-883587433 | 
					
						
							|  |  |  |     "elasticsearch": {"elasticsearch==7.13.4"}, | 
					
						
							| 
									
										
										
										
											2023-02-02 09:24:28 -05:00
										 |  |  |     "feast": {"feast~=0.29.0", "flask-openid>=1.3.0"}, | 
					
						
							| 
									
										
										
										
											2021-06-29 19:43:31 -07:00
										 |  |  |     "glue": aws_common, | 
					
						
							| 
									
										
										
										
											2022-05-26 12:42:50 +02:00
										 |  |  |     # hdbcli is supported officially by SAP, sqlalchemy-hana is built on top but not officially supported | 
					
						
							| 
									
										
										
										
											2022-05-26 15:29:21 -07:00
										 |  |  |     "hana": sql_common | 
					
						
							|  |  |  |     | { | 
					
						
							| 
									
										
										
										
											2022-05-30 02:02:33 -07:00
										 |  |  |         "sqlalchemy-hana>=0.5.0; platform_machine != 'aarch64' and platform_machine != 'arm64'", | 
					
						
							|  |  |  |         "hdbcli>=2.11.20; platform_machine != 'aarch64' and platform_machine != 'arm64'", | 
					
						
							| 
									
										
										
										
											2022-05-26 15:29:21 -07:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-05-03 22:11:50 -07:00
										 |  |  |     "hive": sql_common | 
					
						
							|  |  |  |     | { | 
					
						
							| 
									
										
										
										
											2022-03-23 18:24:48 +01:00
										 |  |  |         # Acryl Data maintains a fork of PyHive | 
					
						
							|  |  |  |         # - 0.6.11 adds support for table comments and column comments, | 
					
						
							|  |  |  |         #   and also releases HTTP and HTTPS transport schemes | 
					
						
							|  |  |  |         # - 0.6.12 adds support for Spark Thrift Server | 
					
						
							| 
									
										
										
										
											2022-08-30 02:14:04 +00:00
										 |  |  |         "acryl-pyhive[hive]>=0.6.13", | 
					
						
							|  |  |  |         "databricks-dbapi", | 
					
						
							| 
									
										
										
										
											2022-10-15 00:17:56 +00:00
										 |  |  |         # Due to https://github.com/great-expectations/great_expectations/issues/6146, | 
					
						
							|  |  |  |         # we cannot allow 0.15.{23-26}. This was fixed in 0.15.27 by | 
					
						
							|  |  |  |         # https://github.com/great-expectations/great_expectations/pull/6149. | 
					
						
							|  |  |  |         "great-expectations != 0.15.23, != 0.15.24, != 0.15.25, != 0.15.26", | 
					
						
							| 
									
										
										
										
											2021-05-03 22:11:50 -07:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2022-05-26 08:05:57 -07:00
										 |  |  |     "iceberg": iceberg_common, | 
					
						
							| 
									
										
										
										
											2022-05-04 17:07:01 -07:00
										 |  |  |     "kafka": {*kafka_common, *kafka_protobuf}, | 
					
						
							| 
									
										
										
										
											2021-11-08 16:23:25 -08:00
										 |  |  |     "kafka-connect": sql_common | {"requests", "JPype1"}, | 
					
						
							| 
									
										
										
										
											2021-06-09 15:07:04 -07:00
										 |  |  |     "ldap": {"python-ldap>=2.4"}, | 
					
						
							| 
									
										
										
										
											2021-09-16 23:09:45 -07:00
										 |  |  |     "looker": looker_common, | 
					
						
							| 
									
										
										
										
											2022-10-23 23:31:48 -07:00
										 |  |  |     "lookml": looker_common, | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  |     "metabase": {"requests", sqllineage_lib}, | 
					
						
							|  |  |  |     "mode": {"requests", sqllineage_lib, "tenacity>=8.0.1"}, | 
					
						
							| 
									
										
										
										
											2022-08-23 02:42:09 -04:00
										 |  |  |     "mongodb": {"pymongo[srv]>=3.11", "packaging"}, | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "mssql": sql_common | {"sqlalchemy-pytds>=0.3"}, | 
					
						
							| 
									
										
										
										
											2021-06-04 18:19:11 -07:00
										 |  |  |     "mssql-odbc": sql_common | {"pyodbc"}, | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "mysql": sql_common | {"pymysql>=1.0.2"}, | 
					
						
							| 
									
										
										
										
											2021-10-13 11:57:47 +05:30
										 |  |  |     # mariadb should have same dependency as mysql | 
					
						
							|  |  |  |     "mariadb": sql_common | {"pymysql>=1.0.2"}, | 
					
						
							| 
									
										
										
										
											2021-08-11 18:49:16 -07:00
										 |  |  |     "okta": {"okta~=1.7.0"}, | 
					
						
							| 
									
										
										
										
											2021-06-09 15:07:04 -07:00
										 |  |  |     "oracle": sql_common | {"cx_Oracle"}, | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "postgres": sql_common | {"psycopg2-binary", "GeoAlchemy2"}, | 
					
						
							| 
									
										
										
										
											2022-11-18 12:02:48 +01:00
										 |  |  |     "presto": sql_common | trino | {"acryl-pyhive[hive]>=0.6.12"}, | 
					
						
							| 
									
										
										
										
											2022-04-13 17:59:31 +05:30
										 |  |  |     "presto-on-hive": sql_common | 
					
						
							|  |  |  |     | {"psycopg2-binary", "acryl-pyhive[hive]>=0.6.12", "pymysql>=1.0.2"}, | 
					
						
							| 
									
										
										
										
											2022-04-29 12:27:02 +02:00
										 |  |  |     "pulsar": {"requests"}, | 
					
						
							| 
									
										
										
										
											2023-01-26 12:25:02 -05:00
										 |  |  |     "redash": {"redash-toolbelt", "sql-metadata", sqllineage_lib}, | 
					
						
							| 
									
										
										
										
											2022-06-29 16:25:48 +02:00
										 |  |  |     "redshift": sql_common | redshift_common, | 
					
						
							|  |  |  |     "redshift-usage": sql_common | usage_common | redshift_common, | 
					
						
							| 
									
										
										
										
											2022-08-16 05:30:40 +00:00
										 |  |  |     "s3": {*s3_base, *data_lake_profiling}, | 
					
						
							| 
									
										
										
										
											2021-06-29 19:43:31 -07:00
										 |  |  |     "sagemaker": aws_common, | 
					
						
							| 
									
										
										
										
											2022-07-16 17:38:33 -07:00
										 |  |  |     "salesforce": {"simple-salesforce"}, | 
					
						
							| 
									
										
										
										
											2022-09-15 22:23:54 +05:30
										 |  |  |     "snowflake": snowflake_common | usage_common, | 
					
						
							| 
									
										
										
										
											2022-09-22 22:07:44 -07:00
										 |  |  |     "snowflake-beta": ( | 
					
						
							|  |  |  |         snowflake_common | usage_common | 
					
						
							|  |  |  |     ),  # deprecated, but keeping the extra for backwards compatibility | 
					
						
							| 
									
										
										
										
											2021-08-11 18:49:16 -07:00
										 |  |  |     "sqlalchemy": sql_common, | 
					
						
							| 
									
										
										
										
											2022-04-01 00:15:09 +02:00
										 |  |  |     "superset": { | 
					
						
							|  |  |  |         "requests", | 
					
						
							|  |  |  |         "sqlalchemy", | 
					
						
							|  |  |  |         "great_expectations", | 
					
						
							|  |  |  |         "greenlet", | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2022-02-08 14:26:44 -08:00
										 |  |  |     "tableau": {"tableauserverclient>=0.17.0"}, | 
					
						
							| 
									
										
										
										
											2022-03-31 03:50:26 +02:00
										 |  |  |     "trino": sql_common | trino, | 
					
						
							| 
									
										
										
										
											2022-04-01 22:26:52 +05:30
										 |  |  |     "starburst-trino-usage": sql_common | usage_common | trino, | 
					
						
							| 
									
										
										
										
											2022-02-09 23:12:41 -08:00
										 |  |  |     "nifi": {"requests", "packaging"}, | 
					
						
							| 
									
										
										
										
											2023-01-06 18:16:32 -05:00
										 |  |  |     "powerbi": microsoft_common | {"lark[regex]==1.1.4", "sqlparse"}, | 
					
						
							| 
									
										
										
										
											2022-11-02 01:05:42 +02:00
										 |  |  |     "powerbi-report-server": powerbi_report_server, | 
					
						
							| 
									
										
										
										
											2023-01-14 02:53:32 +05:30
										 |  |  |     "vertica": sql_common | {"vertica-sqlalchemy-dialect[vertica-python]==0.0.1"}, | 
					
						
							| 
									
										
										
										
											2022-10-30 05:44:41 +01:00
										 |  |  |     "unity-catalog": databricks_cli | {"requests"}, | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-20 17:24:43 -08:00
										 |  |  | # This is mainly used to exclude plugins from the Docker image. | 
					
						
							| 
									
										
										
										
											2021-06-07 14:00:35 -07:00
										 |  |  | all_exclude_plugins: Set[str] = { | 
					
						
							|  |  |  |     # SQL Server ODBC requires additional drivers, and so we don't want to keep | 
					
						
							|  |  |  |     # it included in the default "all" installation. | 
					
						
							|  |  |  |     "mssql-odbc", | 
					
						
							| 
									
										
										
										
											2023-01-20 17:24:43 -08:00
										 |  |  |     # duckdb doesn't have a prebuilt wheel for Linux arm7l or aarch64, so we | 
					
						
							|  |  |  |     # simply exclude it. | 
					
						
							|  |  |  |     "datahub-lite", | 
					
						
							| 
									
										
										
										
											2021-06-07 14:00:35 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-08 16:10:16 -07:00
										 |  |  | mypy_stubs = { | 
					
						
							|  |  |  |     "types-dataclasses", | 
					
						
							|  |  |  |     "types-pkg_resources", | 
					
						
							|  |  |  |     "types-six", | 
					
						
							|  |  |  |     "types-python-dateutil", | 
					
						
							| 
									
										
										
										
											2022-12-21 05:29:46 +01:00
										 |  |  |     "types-requests>=2.28.11.6", | 
					
						
							| 
									
										
										
										
											2021-06-08 16:10:16 -07:00
										 |  |  |     "types-toml", | 
					
						
							|  |  |  |     "types-PyMySQL", | 
					
						
							|  |  |  |     "types-PyYAML", | 
					
						
							|  |  |  |     "types-freezegun", | 
					
						
							| 
									
										
										
										
											2021-06-24 17:11:00 -07:00
										 |  |  |     "types-cachetools", | 
					
						
							| 
									
										
										
										
											2021-06-08 16:10:16 -07:00
										 |  |  |     # versions 0.1.13 and 0.1.14 seem to have issues | 
					
						
							|  |  |  |     "types-click==0.1.12", | 
					
						
							| 
									
										
										
										
											2022-09-22 17:43:32 -07:00
										 |  |  |     "boto3-stubs[s3,glue,sagemaker,sts]", | 
					
						
							| 
									
										
										
										
											2021-07-29 20:04:40 -07:00
										 |  |  |     "types-tabulate", | 
					
						
							| 
									
										
										
										
											2022-03-14 21:20:29 +05:30
										 |  |  |     # avrogen package requires this | 
					
						
							|  |  |  |     "types-pytz", | 
					
						
							| 
									
										
										
										
											2022-06-06 17:49:49 +05:30
										 |  |  |     "types-pyOpenSSL", | 
					
						
							| 
									
										
										
										
											2022-11-21 17:08:05 -05:00
										 |  |  |     "types-click-spinner>=0.1.13.1", | 
					
						
							| 
									
										
										
										
											2022-10-13 19:48:05 +00:00
										 |  |  |     "types-ujson>=5.2.0", | 
					
						
							| 
									
										
										
										
											2022-11-01 21:12:34 -07:00
										 |  |  |     "types-termcolor>=1.0.0", | 
					
						
							|  |  |  |     "types-Deprecated", | 
					
						
							| 
									
										
										
										
											2022-12-02 13:53:28 -05:00
										 |  |  |     "types-protobuf>=4.21.0.1", | 
					
						
							| 
									
										
										
										
											2021-06-08 16:10:16 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-26 16:44:36 -07:00
										 |  |  | base_dev_requirements = { | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     *base_requirements, | 
					
						
							|  |  |  |     *framework_common, | 
					
						
							| 
									
										
										
										
											2021-06-08 16:10:16 -07:00
										 |  |  |     *mypy_stubs, | 
					
						
							| 
									
										
										
										
											2022-03-29 15:22:57 +05:30
										 |  |  |     *s3_base, | 
					
						
							| 
									
										
										
										
											2022-12-19 13:35:49 -05:00
										 |  |  |     # This is pinned only to avoid spurious errors in CI. | 
					
						
							|  |  |  |     # We should make an effort to keep it up to date. | 
					
						
							|  |  |  |     "black==22.12.0", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "coverage>=5.1", | 
					
						
							|  |  |  |     "flake8>=3.8.3", | 
					
						
							| 
									
										
										
										
											2021-08-06 13:25:30 -04:00
										 |  |  |     "flake8-tidy-imports>=4.3.0", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "isort>=5.7.0", | 
					
						
							| 
									
										
										
										
											2023-02-11 02:54:05 +05:30
										 |  |  |     "mypy==1.0.0", | 
					
						
							| 
									
										
										
										
											2022-02-17 03:31:20 -05:00
										 |  |  |     # pydantic 1.8.2 is incompatible with mypy 0.910. | 
					
						
							|  |  |  |     # See https://github.com/samuelcolvin/pydantic/pull/3175#issuecomment-995382910. | 
					
						
							| 
									
										
										
										
											2023-01-04 19:31:04 -05:00
										 |  |  |     "pydantic>=1.9.0", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "pytest>=6.2.2", | 
					
						
							| 
									
										
										
										
											2022-02-10 20:02:23 -08:00
										 |  |  |     "pytest-asyncio>=0.16.0", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "pytest-cov>=2.8.1", | 
					
						
							| 
									
										
										
										
											2022-12-27 17:06:16 -05:00
										 |  |  |     "pytest-docker>=1.0.1", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     "deepdiff", | 
					
						
							| 
									
										
										
										
											2021-04-21 11:34:24 -07:00
										 |  |  |     "requests-mock", | 
					
						
							| 
									
										
										
										
											2021-04-04 19:00:27 +01:00
										 |  |  |     "freezegun", | 
					
						
							| 
									
										
										
										
											2021-06-24 17:11:00 -07:00
										 |  |  |     "jsonpickle", | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     "build", | 
					
						
							|  |  |  |     "twine", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     *list( | 
					
						
							|  |  |  |         dependency | 
					
						
							|  |  |  |         for plugin in [ | 
					
						
							|  |  |  |             "bigquery", | 
					
						
							| 
									
										
										
										
											2022-02-21 17:36:08 +02:00
										 |  |  |             "clickhouse", | 
					
						
							|  |  |  |             "clickhouse-usage", | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |             "delta-lake", | 
					
						
							| 
									
										
										
										
											2022-04-08 20:48:48 +05:30
										 |  |  |             "druid", | 
					
						
							| 
									
										
										
										
											2022-01-14 13:10:12 -08:00
										 |  |  |             "elasticsearch", | 
					
						
							| 
									
										
										
										
											2022-11-03 14:23:19 -04:00
										 |  |  |             "feast" if sys.version_info >= (3, 8) else None, | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |             "iceberg", | 
					
						
							| 
									
										
										
										
											2022-04-08 20:48:48 +05:30
										 |  |  |             "ldap", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |             "looker", | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |             "lookml", | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |             "glue", | 
					
						
							| 
									
										
										
										
											2021-10-13 11:57:47 +05:30
										 |  |  |             "mariadb", | 
					
						
							| 
									
										
										
										
											2021-08-11 18:49:16 -07:00
										 |  |  |             "okta", | 
					
						
							| 
									
										
										
										
											2021-06-11 17:27:34 -07:00
										 |  |  |             "oracle", | 
					
						
							| 
									
										
										
										
											2021-07-20 19:31:42 +05:30
										 |  |  |             "postgres", | 
					
						
							| 
									
										
										
										
											2021-06-29 19:43:31 -07:00
										 |  |  |             "sagemaker", | 
					
						
							| 
									
										
										
										
											2022-05-04 17:07:01 -07:00
										 |  |  |             "kafka", | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |             "datahub-rest", | 
					
						
							| 
									
										
										
										
											2023-01-18 19:18:56 -08:00
										 |  |  |             "datahub-lite", | 
					
						
							| 
									
										
										
										
											2022-11-18 12:02:48 +01:00
										 |  |  |             "presto", | 
					
						
							| 
									
										
										
										
											2021-08-19 02:03:03 +07:00
										 |  |  |             "redash", | 
					
						
							| 
									
										
										
										
											2021-09-23 16:39:33 -04:00
										 |  |  |             "redshift", | 
					
						
							| 
									
										
										
										
											2022-01-17 15:01:23 -08:00
										 |  |  |             "redshift-usage", | 
					
						
							| 
									
										
										
										
											2022-03-29 15:22:57 +05:30
										 |  |  |             "s3", | 
					
						
							| 
									
										
										
										
											2022-11-23 11:13:30 +05:30
										 |  |  |             "snowflake", | 
					
						
							| 
									
										
										
										
											2022-02-08 14:26:44 -08:00
										 |  |  |             "tableau", | 
					
						
							| 
									
										
										
										
											2022-01-31 22:52:55 +05:30
										 |  |  |             "trino", | 
					
						
							| 
									
										
										
										
											2022-02-02 22:52:50 -08:00
										 |  |  |             "hive", | 
					
						
							| 
									
										
										
										
											2022-01-31 22:52:55 +05:30
										 |  |  |             "starburst-trino-usage", | 
					
						
							| 
									
										
										
										
											2022-04-08 20:48:48 +05:30
										 |  |  |             "powerbi", | 
					
						
							| 
									
										
										
										
											2022-11-02 01:05:42 +02:00
										 |  |  |             "powerbi-report-server", | 
					
						
							| 
									
										
										
										
											2022-10-30 05:44:41 +01:00
										 |  |  |             "salesforce", | 
					
						
							|  |  |  |             "unity-catalog" | 
					
						
							| 
									
										
										
										
											2021-04-26 16:44:36 -07:00
										 |  |  |             # airflow is added below | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |         ] | 
					
						
							| 
									
										
										
										
											2022-11-03 14:23:19 -04:00
										 |  |  |         if plugin | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |         for dependency in plugins[plugin] | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-26 16:44:36 -07:00
										 |  |  | dev_requirements = { | 
					
						
							|  |  |  |     *base_dev_requirements, | 
					
						
							| 
									
										
										
										
											2022-12-02 13:56:17 -05:00
										 |  |  |     # Extra requirements for Airflow. | 
					
						
							| 
									
										
										
										
											2021-07-17 20:00:50 -07:00
										 |  |  |     "apache-airflow[snowflake]>=2.0.2",  # snowflake is used in example dags | 
					
						
							| 
									
										
										
										
											2022-12-02 13:56:17 -05:00
										 |  |  |     "virtualenv",  # needed by PythonVirtualenvOperator | 
					
						
							| 
									
										
										
										
											2021-04-26 16:44:36 -07:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-14 20:02:48 -07:00
										 |  |  | full_test_dev_requirements = { | 
					
						
							|  |  |  |     *list( | 
					
						
							|  |  |  |         dependency | 
					
						
							|  |  |  |         for plugin in [ | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |             "athena", | 
					
						
							| 
									
										
										
										
											2022-07-13 19:17:38 +02:00
										 |  |  |             "circuit-breaker", | 
					
						
							| 
									
										
										
										
											2022-02-21 17:36:08 +02:00
										 |  |  |             "clickhouse", | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |             "delta-lake", | 
					
						
							| 
									
										
										
										
											2021-07-14 20:29:23 -07:00
										 |  |  |             "druid", | 
					
						
							| 
									
										
										
										
											2022-05-27 01:50:15 -07:00
										 |  |  |             "hana", | 
					
						
							| 
									
										
										
										
											2021-07-14 20:02:48 -07:00
										 |  |  |             "hive", | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |             "iceberg", | 
					
						
							| 
									
										
										
										
											2022-07-16 17:38:33 -07:00
										 |  |  |             "kafka-connect", | 
					
						
							| 
									
										
										
										
											2021-07-14 20:02:48 -07:00
										 |  |  |             "ldap", | 
					
						
							|  |  |  |             "mongodb", | 
					
						
							|  |  |  |             "mssql", | 
					
						
							|  |  |  |             "mysql", | 
					
						
							| 
									
										
										
										
											2021-10-13 11:57:47 +05:30
										 |  |  |             "mariadb", | 
					
						
							| 
									
										
										
										
											2021-08-19 02:03:03 +07:00
										 |  |  |             "redash", | 
					
						
							| 
									
										
										
										
											2023-01-17 12:37:16 -08:00
										 |  |  |             # "vertica", | 
					
						
							| 
									
										
										
										
											2021-07-14 20:02:48 -07:00
										 |  |  |         ] | 
					
						
							|  |  |  |         for dependency in plugins[plugin] | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  | entry_points = { | 
					
						
							| 
									
										
										
										
											2021-05-17 11:50:38 -07:00
										 |  |  |     "console_scripts": ["datahub = datahub.entrypoints:main"], | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |     "datahub.ingestion.source.plugins": [ | 
					
						
							| 
									
										
										
										
											2022-06-29 16:25:48 +02:00
										 |  |  |         "csv-enricher = datahub.ingestion.source.csv_enricher:CSVEnricherSource", | 
					
						
							| 
									
										
										
										
											2021-06-24 17:11:00 -07:00
										 |  |  |         "file = datahub.ingestion.source.file:GenericFileSource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "sqlalchemy = datahub.ingestion.source.sql.sql_generic:SQLAlchemyGenericSource", | 
					
						
							|  |  |  |         "athena = datahub.ingestion.source.sql.athena:AthenaSource", | 
					
						
							| 
									
										
										
										
											2021-09-02 12:24:10 -04:00
										 |  |  |         "azure-ad = datahub.ingestion.source.identity.azure_ad:AzureADSource", | 
					
						
							| 
									
										
										
										
											2022-10-26 20:15:44 +02:00
										 |  |  |         "bigquery = datahub.ingestion.source.bigquery_v2.bigquery:BigqueryV2Source", | 
					
						
							| 
									
										
										
										
											2022-02-21 17:36:08 +02:00
										 |  |  |         "clickhouse = datahub.ingestion.source.sql.clickhouse:ClickHouseSource", | 
					
						
							|  |  |  |         "clickhouse-usage = datahub.ingestion.source.usage.clickhouse_usage:ClickHouseUsageSource", | 
					
						
							| 
									
										
										
										
											2022-06-28 04:46:33 +05:30
										 |  |  |         "delta-lake = datahub.ingestion.source.delta_lake:DeltaLakeSource", | 
					
						
							| 
									
										
										
										
											2022-03-29 15:22:57 +05:30
										 |  |  |         "s3 = datahub.ingestion.source.s3:S3Source", | 
					
						
							| 
									
										
										
										
											2022-11-21 14:14:33 -05:00
										 |  |  |         "dbt = datahub.ingestion.source.dbt.dbt_core:DBTCoreSource", | 
					
						
							|  |  |  |         "dbt-cloud = datahub.ingestion.source.dbt.dbt_cloud:DBTCloudSource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "druid = datahub.ingestion.source.sql.druid:DruidSource", | 
					
						
							| 
									
										
										
										
											2022-01-14 13:10:12 -08:00
										 |  |  |         "elasticsearch = datahub.ingestion.source.elastic_search:ElasticsearchSource", | 
					
						
							| 
									
										
										
										
											2022-04-26 18:35:02 -03:00
										 |  |  |         "feast = datahub.ingestion.source.feast:FeastRepositorySource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "glue = datahub.ingestion.source.aws.glue:GlueSource", | 
					
						
							|  |  |  |         "sagemaker = datahub.ingestion.source.aws.sagemaker:SagemakerSource", | 
					
						
							| 
									
										
										
										
											2022-05-26 12:42:50 +02:00
										 |  |  |         "hana = datahub.ingestion.source.sql.hana:HanaSource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "hive = datahub.ingestion.source.sql.hive:HiveSource", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |         "kafka = datahub.ingestion.source.kafka:KafkaSource", | 
					
						
							| 
									
										
										
										
											2021-05-19 04:45:38 +07:00
										 |  |  |         "kafka-connect = datahub.ingestion.source.kafka_connect:KafkaConnectSource", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |         "ldap = datahub.ingestion.source.ldap:LDAPSource", | 
					
						
							| 
									
										
										
										
											2022-08-30 12:51:31 +05:30
										 |  |  |         "looker = datahub.ingestion.source.looker.looker_source:LookerDashboardSource", | 
					
						
							|  |  |  |         "lookml = datahub.ingestion.source.looker.lookml_source:LookMLSource", | 
					
						
							| 
									
										
										
										
											2022-02-24 20:02:38 -05:00
										 |  |  |         "datahub-lineage-file = datahub.ingestion.source.metadata.lineage:LineageFileSource", | 
					
						
							| 
									
										
										
										
											2021-09-01 15:10:12 -07:00
										 |  |  |         "datahub-business-glossary = datahub.ingestion.source.metadata.business_glossary:BusinessGlossaryFileSource", | 
					
						
							| 
									
										
										
										
											2021-12-09 16:10:08 -08:00
										 |  |  |         "mode = datahub.ingestion.source.mode:ModeSource", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |         "mongodb = datahub.ingestion.source.mongodb:MongoDBSource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "mssql = datahub.ingestion.source.sql.mssql:SQLServerSource", | 
					
						
							|  |  |  |         "mysql = datahub.ingestion.source.sql.mysql:MySQLSource", | 
					
						
							| 
									
										
										
										
											2021-10-13 11:57:47 +05:30
										 |  |  |         "mariadb = datahub.ingestion.source.sql.mariadb.MariaDBSource", | 
					
						
							| 
									
										
										
										
											2021-08-11 18:49:16 -07:00
										 |  |  |         "okta = datahub.ingestion.source.identity.okta:OktaSource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "oracle = datahub.ingestion.source.sql.oracle:OracleSource", | 
					
						
							|  |  |  |         "postgres = datahub.ingestion.source.sql.postgres:PostgresSource", | 
					
						
							| 
									
										
										
										
											2021-08-19 02:03:03 +07:00
										 |  |  |         "redash = datahub.ingestion.source.redash:RedashSource", | 
					
						
							| 
									
										
										
										
											2021-07-26 13:06:52 -07:00
										 |  |  |         "redshift = datahub.ingestion.source.sql.redshift:RedshiftSource", | 
					
						
							| 
									
										
										
										
											2021-09-23 16:39:33 -04:00
										 |  |  |         "redshift-usage = datahub.ingestion.source.usage.redshift_usage:RedshiftUsageSource", | 
					
						
							| 
									
										
										
										
											2022-09-15 22:23:54 +05:30
										 |  |  |         "snowflake = datahub.ingestion.source.snowflake.snowflake_v2:SnowflakeV2Source", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |         "superset = datahub.ingestion.source.superset:SupersetSource", | 
					
						
							| 
									
										
										
										
											2022-02-08 14:26:44 -08:00
										 |  |  |         "tableau = datahub.ingestion.source.tableau:TableauSource", | 
					
						
							| 
									
										
										
										
											2021-11-10 06:22:15 +01:00
										 |  |  |         "openapi = datahub.ingestion.source.openapi:OpenApiSource", | 
					
						
							| 
									
										
										
										
											2021-12-14 02:02:47 -05:00
										 |  |  |         "metabase = datahub.ingestion.source.metabase:MetabaseSource", | 
					
						
							| 
									
										
										
										
											2021-10-07 00:27:06 +05:30
										 |  |  |         "trino = datahub.ingestion.source.sql.trino:TrinoSource", | 
					
						
							| 
									
										
										
										
											2021-11-18 18:56:24 +01:00
										 |  |  |         "starburst-trino-usage = datahub.ingestion.source.usage.starburst_trino_usage:TrinoUsageSource", | 
					
						
							| 
									
										
										
										
											2021-12-09 04:26:31 +05:30
										 |  |  |         "nifi = datahub.ingestion.source.nifi:NifiSource", | 
					
						
							| 
									
										
										
										
											2022-03-01 07:07:22 +05:30
										 |  |  |         "powerbi = datahub.ingestion.source.powerbi:PowerBiDashboardSource", | 
					
						
							| 
									
										
										
										
											2022-11-02 01:05:42 +02:00
										 |  |  |         "powerbi-report-server = datahub.ingestion.source.powerbi_report_server:PowerBiReportServerDashboardSource", | 
					
						
							| 
									
										
										
										
											2022-05-26 08:05:57 -07:00
										 |  |  |         "iceberg = datahub.ingestion.source.iceberg.iceberg:IcebergSource", | 
					
						
							| 
									
										
										
										
											2022-05-26 19:26:28 +09:00
										 |  |  |         "vertica = datahub.ingestion.source.sql.vertica:VerticaSource", | 
					
						
							| 
									
										
										
										
											2022-11-18 12:02:48 +01:00
										 |  |  |         "presto = datahub.ingestion.source.sql.presto:PrestoSource", | 
					
						
							| 
									
										
										
										
											2022-04-12 08:46:44 +08:00
										 |  |  |         "presto-on-hive = datahub.ingestion.source.sql.presto_on_hive:PrestoOnHiveSource", | 
					
						
							| 
									
										
										
										
											2022-04-29 12:27:02 +02:00
										 |  |  |         "pulsar = datahub.ingestion.source.pulsar:PulsarSource", | 
					
						
							| 
									
										
										
										
											2022-07-06 22:31:16 +05:30
										 |  |  |         "salesforce = datahub.ingestion.source.salesforce:SalesforceSource", | 
					
						
							| 
									
										
										
										
											2022-12-06 16:10:21 -05:00
										 |  |  |         "demo-data = datahub.ingestion.source.demo_data.DemoDataSource", | 
					
						
							| 
									
										
										
										
											2022-10-30 05:44:41 +01:00
										 |  |  |         "unity-catalog = datahub.ingestion.source.unity.source:UnityCatalogSource", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2022-12-08 05:08:08 +01:00
										 |  |  |     "datahub.ingestion.transformer.plugins": [ | 
					
						
							|  |  |  |         "simple_remove_dataset_ownership = datahub.ingestion.transformer.remove_dataset_ownership:SimpleRemoveDatasetOwnership", | 
					
						
							|  |  |  |         "mark_dataset_status = datahub.ingestion.transformer.mark_dataset_status:MarkDatasetStatus", | 
					
						
							|  |  |  |         "set_dataset_browse_path = datahub.ingestion.transformer.add_dataset_browse_path:AddDatasetBrowsePathTransformer", | 
					
						
							|  |  |  |         "add_dataset_ownership = datahub.ingestion.transformer.add_dataset_ownership:AddDatasetOwnership", | 
					
						
							|  |  |  |         "simple_add_dataset_ownership = datahub.ingestion.transformer.add_dataset_ownership:SimpleAddDatasetOwnership", | 
					
						
							|  |  |  |         "pattern_add_dataset_ownership = datahub.ingestion.transformer.add_dataset_ownership:PatternAddDatasetOwnership", | 
					
						
							|  |  |  |         "add_dataset_domain = datahub.ingestion.transformer.dataset_domain:AddDatasetDomain", | 
					
						
							|  |  |  |         "simple_add_dataset_domain = datahub.ingestion.transformer.dataset_domain:SimpleAddDatasetDomain", | 
					
						
							|  |  |  |         "pattern_add_dataset_domain = datahub.ingestion.transformer.dataset_domain:PatternAddDatasetDomain", | 
					
						
							|  |  |  |         "add_dataset_tags = datahub.ingestion.transformer.add_dataset_tags:AddDatasetTags", | 
					
						
							|  |  |  |         "simple_add_dataset_tags = datahub.ingestion.transformer.add_dataset_tags:SimpleAddDatasetTags", | 
					
						
							|  |  |  |         "pattern_add_dataset_tags = datahub.ingestion.transformer.add_dataset_tags:PatternAddDatasetTags", | 
					
						
							|  |  |  |         "add_dataset_terms = datahub.ingestion.transformer.add_dataset_terms:AddDatasetTerms", | 
					
						
							|  |  |  |         "simple_add_dataset_terms = datahub.ingestion.transformer.add_dataset_terms:SimpleAddDatasetTerms", | 
					
						
							|  |  |  |         "pattern_add_dataset_terms = datahub.ingestion.transformer.add_dataset_terms:PatternAddDatasetTerms", | 
					
						
							|  |  |  |         "add_dataset_properties = datahub.ingestion.transformer.add_dataset_properties:AddDatasetProperties", | 
					
						
							|  |  |  |         "simple_add_dataset_properties = datahub.ingestion.transformer.add_dataset_properties:SimpleAddDatasetProperties", | 
					
						
							|  |  |  |         "pattern_add_dataset_schema_terms = datahub.ingestion.transformer.add_dataset_schema_terms:PatternAddDatasetSchemaTerms", | 
					
						
							|  |  |  |         "pattern_add_dataset_schema_tags = datahub.ingestion.transformer.add_dataset_schema_tags:PatternAddDatasetSchemaTags", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |     "datahub.ingestion.sink.plugins": [ | 
					
						
							|  |  |  |         "file = datahub.ingestion.sink.file:FileSink", | 
					
						
							|  |  |  |         "console = datahub.ingestion.sink.console:ConsoleSink", | 
					
						
							| 
									
										
										
										
											2023-02-10 22:12:02 +01:00
										 |  |  |         "blackhole = datahub.ingestion.sink.blackhole:BlackHoleSink", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |         "datahub-kafka = datahub.ingestion.sink.datahub_kafka:DatahubKafkaSink", | 
					
						
							|  |  |  |         "datahub-rest = datahub.ingestion.sink.datahub_rest:DatahubRestSink", | 
					
						
							| 
									
										
										
										
											2023-01-18 19:18:56 -08:00
										 |  |  |         "datahub-lite = datahub.ingestion.sink.datahub_lite:DataHubLiteSink", | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2022-02-02 13:19:15 -08:00
										 |  |  |     "datahub.ingestion.checkpointing_provider.plugins": [ | 
					
						
							|  |  |  |         "datahub = datahub.ingestion.source.state_provider.datahub_ingestion_checkpointing_provider:DatahubIngestionCheckpointingProvider", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "datahub.ingestion.reporting_provider.plugins": [ | 
					
						
							| 
									
										
										
										
											2022-08-19 09:08:17 -07:00
										 |  |  |         "datahub = datahub.ingestion.reporting.datahub_ingestion_run_summary_provider:DatahubIngestionRunSummaryProvider", | 
					
						
							|  |  |  |         "file = datahub.ingestion.reporting.file_reporter:FileReporter", | 
					
						
							| 
									
										
										
										
											2021-12-16 20:06:33 -08:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-05-13 20:02:47 -07:00
										 |  |  |     "apache_airflow_provider": ["provider_info=datahub_provider:get_provider_info"], | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  | setuptools.setup( | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     # Package metadata. | 
					
						
							|  |  |  |     name=package_metadata["__package_name__"], | 
					
						
							|  |  |  |     version=package_metadata["__version__"], | 
					
						
							|  |  |  |     url="https://datahubproject.io/", | 
					
						
							|  |  |  |     project_urls={ | 
					
						
							|  |  |  |         "Documentation": "https://datahubproject.io/docs/", | 
					
						
							| 
									
										
										
										
											2022-03-18 22:12:19 +01:00
										 |  |  |         "Source": "https://github.com/datahub-project/datahub", | 
					
						
							|  |  |  |         "Changelog": "https://github.com/datahub-project/datahub/releases", | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  |     license="Apache License 2.0", | 
					
						
							|  |  |  |     description="A CLI to work with DataHub metadata", | 
					
						
							|  |  |  |     long_description=get_long_description(), | 
					
						
							|  |  |  |     long_description_content_type="text/markdown", | 
					
						
							|  |  |  |     classifiers=[ | 
					
						
							|  |  |  |         "Development Status :: 5 - Production/Stable", | 
					
						
							|  |  |  |         "Programming Language :: Python", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3 :: Only", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3.7", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3.8", | 
					
						
							| 
									
										
										
										
											2021-02-07 11:14:05 -08:00
										 |  |  |         "Programming Language :: Python :: 3.9", | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |         "Programming Language :: Python :: 3.10", | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  |         "Intended Audience :: Developers", | 
					
						
							|  |  |  |         "Intended Audience :: Information Technology", | 
					
						
							|  |  |  |         "Intended Audience :: System Administrators", | 
					
						
							|  |  |  |         "License :: OSI Approved", | 
					
						
							|  |  |  |         "License :: OSI Approved :: Apache Software License", | 
					
						
							|  |  |  |         "Operating System :: Unix", | 
					
						
							|  |  |  |         "Operating System :: POSIX :: Linux", | 
					
						
							|  |  |  |         "Environment :: Console", | 
					
						
							|  |  |  |         "Environment :: MacOS X", | 
					
						
							|  |  |  |         "Topic :: Software Development", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     # Package info. | 
					
						
							|  |  |  |     zip_safe=False, | 
					
						
							| 
									
										
										
										
											2022-08-10 22:00:31 +00:00
										 |  |  |     python_requires=">=3.7", | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  |     package_dir={"": "src"}, | 
					
						
							| 
									
										
										
										
											2021-03-02 11:48:26 -08:00
										 |  |  |     packages=setuptools.find_namespace_packages(where="./src"), | 
					
						
							|  |  |  |     package_data={ | 
					
						
							|  |  |  |         "datahub": ["py.typed"], | 
					
						
							|  |  |  |         "datahub.metadata": ["schema.avsc"], | 
					
						
							| 
									
										
										
										
											2021-06-17 10:04:28 -07:00
										 |  |  |         "datahub.metadata.schemas": ["*.avsc"], | 
					
						
							| 
									
										
										
										
											2023-01-03 21:38:11 +05:30
										 |  |  |         "datahub.ingestion.source.powerbi": ["powerbi-lexical-grammar.rule"], | 
					
						
							| 
									
										
										
										
											2021-03-02 11:48:26 -08:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-05-13 21:42:53 +03:00
										 |  |  |     entry_points=entry_points, | 
					
						
							| 
									
										
										
										
											2021-04-05 19:11:28 -07:00
										 |  |  |     # Dependencies. | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     install_requires=list(base_requirements | framework_common), | 
					
						
							|  |  |  |     extras_require={ | 
					
						
							|  |  |  |         "base": list(framework_common), | 
					
						
							|  |  |  |         **{ | 
					
						
							|  |  |  |             plugin: list(framework_common | dependencies) | 
					
						
							|  |  |  |             for (plugin, dependencies) in plugins.items() | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-06-07 14:00:35 -07:00
										 |  |  |         "all": list( | 
					
						
							|  |  |  |             framework_common.union( | 
					
						
							|  |  |  |                 *[ | 
					
						
							|  |  |  |                     requirements | 
					
						
							|  |  |  |                     for plugin, requirements in plugins.items() | 
					
						
							|  |  |  |                     if plugin not in all_exclude_plugins | 
					
						
							|  |  |  |                 ] | 
					
						
							|  |  |  |             ) | 
					
						
							|  |  |  |         ), | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |         "dev": list(dev_requirements), | 
					
						
							| 
									
										
										
										
											2021-07-14 20:02:48 -07:00
										 |  |  |         "integration-tests": list(full_test_dev_requirements), | 
					
						
							| 
									
										
										
										
											2021-03-11 16:41:05 -05:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-01-31 22:40:30 -08:00
										 |  |  | ) |