-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (58 loc) · 1.75 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
[project]
name = "airflow-serde-polars"
dynamic = ["version"]
description = "Apache Airflow serialization plugin using Polars"
authors = [{ name = "phi", email = "[email protected]" }]
readme = "README.md"
requires-python = ">= 3.8"
dependencies = [
"polars[pyarrow]>=1.0.0",
"typing-extensions>=4.4",
"pyarrow",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
Repository = "https://github.com/phi-friday/airflow-serde-polars"
[project.optional-dependencies]
test = [
# support pep440
"apache-airflow>=2.8.1",
"pytest>=7",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.uv]
managed = true
dev-dependencies = [
"airflow-serde-polars[test]",
"ruff==0.6.4",
"pre-commit>=3.5.0",
"ipykernel>=6.29.5",
"poethepoet>=0.27.0",
]
[tool.poe.tasks]
lint = ["_lint:check", "_lint:format"]
"_lint:check" = "ruff check src tests --fix"
"_lint:format" = "ruff format src tests"
check = "pre-commit run --all-files --show-diff-on-failure"
[tool.hatch.build.targets.wheel]
packages = ["src/airflow_serde_polars", "src/airflow/serialization/serializers"]
[tool.hatch.build.targets.sdist]
include = ["src/airflow_serde_polars", "src/airflow/serialization/serializers"]
[tool.pytest.ini_options]
addopts = "-m 'not airflow'"
markers = [
"airflow: mark test to run only when apache-airflow is installed",
]