This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
141 lines (125 loc) · 3.88 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[build-system]
requires = ["flit_core ~=3.2"]
build-backend = "flit_core.buildapi"
[project]
name = "universal-transfer-operator"
dynamic = ["version"]
description = """Universal Transfer Operator transfers all the data that could be read from the source Dataset into
the destination Dataset. From a DAG author standpoint, all transfers would be performed through the invocation of
only the Universal Transfer Operator."""
authors = [
{ name = "Astronomer", email = "humans@astronomer.io" },
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7"
dependencies = [
"apache-airflow>=2.0",
"attrs>=20.0",
"pandas>=1.3.4,<2.0.0", # Pinning it to <2.0.0 to avoid breaking changes
"pyarrow",
"python-frontmatter",
"smart-open",
"SQLAlchemy>=1.3.18",
"apache-airflow-providers-common-sql"
]
keywords = ["airflow", "provider", "astronomer", "sql", "decorator", "task flow", "elt", "etl", "dag"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: Database",
"Framework :: Apache Airflow",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
[project.optional-dependencies]
tests = [
"pytest>=6.0",
"pytest-split",
"pytest-dotenv",
"requests-mock",
"pytest-cov",
"pytest-describe",
"types-requests",
"mypy",
"sqlalchemy-stubs", # Change when sqlalchemy is upgraded https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html
]
google = [
"protobuf<=3.20", # Google bigquery client require protobuf <= 3.20.0. We can remove the limitation when this limitation is removed
"apache-airflow-providers-google>=6.4.0",
"sqlalchemy-bigquery>=1.3.0",
"smart-open[gcs]>=5.2.1"
]
snowflake = [
"apache-airflow-providers-snowflake",
"snowflake-sqlalchemy>=1.2.0",
"snowflake-connector-python[pandas]",
]
amazon = [
"apache-airflow-providers-amazon>=5.0.0",
"s3fs",
"smart-open[s3]>=5.2.1",
]
openlineage = ["openlineage-airflow>=0.17.0"]
fivetran = ["airflow-provider-fivetran>=1.1.3"]
all = [
"apache-airflow-providers-amazon",
"apache-airflow-providers-google>=6.4.0",
"apache-airflow-providers-snowflake",
"smart-open[all]>=5.2.1",
"snowflake-connector-python[pandas]",
"snowflake-sqlalchemy>=1.2.0",
"sqlalchemy-bigquery>=1.3.0",
"s3fs",
"protobuf<=3.20", # Google bigquery client require protobuf <= 3.20.0. We can remove the limitation when this limitation is removed
"openlineage-airflow>=0.17.0",
"airflow-provider-fivetran>=1.1.3",
"apache-airflow-providers-sftp"
]
doc = [
"myst-parser>=0.17",
"sphinx>=4.4.0",
"sphinx-autoapi>=2.0.0",
"sphinx-rtd-theme"
]
sftp = [
"apache-airflow-providers-sftp",
"smart-open[ssh]>=5.2.1",
]
[project.urls]
Home = "https://astronomer.io/"
Source = "https://github.com/astronomer/astro-sdk/universal_transfer_operator"
[project.entry-points.apache_airflow_provider]
provider_info = "universal_transfer_operator.__init__:get_provider_info"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--durations=30 --durations-min=1.0"
env_files = [".env"]
testpaths = ["tests"]
markers = [
"integration"
]
[tool.flit.module]
name = "universal_transfer_operator"
[tool.mypy]
color_output = true
#disallow_any_generics = true
#disallow_incomplete_defs = true
#disallow_untyped_defs = true
files = ["src/universal_transfer_operator"]
follow_imports = "skip"
no_implicit_optional = true
pretty = true
strict_equality = true
show_error_codes = true
show_error_context = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.black]
line-length = 110
target-version = ['py37', 'py38', 'py39', 'py310']