-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (66 loc) · 1.95 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
[tool.poetry]
name = "gupy-target-iceberg"
version = "0.0.1"
description = "Singer target for Iceberg, built with the Meltano Singer SDK."
readme = "README.md"
authors = ["Lorran Rodrigues <lorran.rodr@gmail.com>"]
keywords = [
"ELT",
"Iceberg",
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = "Apache-2.0"
packages = [
{ include = "target_iceberg" },
]
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
singer-sdk = { version="~=0.40.0" }
fs-s3fs = { version = "~=1.1.1", optional = true }
requests = "~=2.32.3"
pyiceberg = "^0.7.1"
pyarrow = "^17.0.0"
meltano = "^3.5.4"
pydantic = "2.9.2"
[tool.poetry.dev-dependencies]
pytest = ">=8"
singer-sdk = { version="~=0.40.0", extras = ["testing"] }
[tool.poetry.extras]
s3 = ["fs-s3fs"]
[tool.ruff]
src = ["target_iceberg"]
target-version = "py38"
[tool.ruff.lint]
ignore = [
"ANN101", # missing-type-self
"ANN102", # missing-type-cls
"COM812", # missing-trailing-comma
"ISC001", # single-line-implicit-string-concatenation
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.isort]
known-first-party = ["target_iceberg"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core==1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
# CLI declaration
target-iceberg = 'target_iceberg.target:TargetIceberg.cli'
[tool.pytest.ini_options]
addopts = [
"--deselect=tests/test_core.py::TestTargetIceberg::test_target_special_chars_in_attributes",
"--deselect=tests/test_core.py::TestTargetIceberg::test_target_schema_updates",
"--deselect=tests/test_core.py::TestTargetIceberg::test_target_encoded_string_data"
]