-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (43 loc) · 1.21 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
[tool.poetry]
name = "pysparkdt"
version = "0" # DO NOT CHANGE - managed by Git tags and CI
license = "MIT"
repository = "https://github.com/datamole-ai/pysparkdt"
description = "An open-source Python library for simplifying local testing of Databricks workflows that use PySpark and Delta tables."
authors = ["Juraj Pall <[email protected]>"]
exclude = ["tests"]
readme = "README.md"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[tool.poetry.dependencies]
python = ">=3.8, <3.13"
pyspark = { version = "^3.5.0", extras = ["sql"] }
delta-spark = "^3.0.0"
numpy = [
{ version = ">=1.26.0", python = ">=3.9" },
{ version = "<1.26.0", python = ">=3.8, <3.9" }
]
setuptools = { version = "^75.6.0", python = ">=3.12,<3.13" } # Necessary for Python 3.12 as distutils is missing without it
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.3"
pytest = "^8.3.4"
pytest-mock = "^3.14.0"
[tool.ruff]
line-length = 79
target-version = "py38"
lint.select = [
"E",
"F",
"N",
"W",
"I001",
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"*/**" = ["E402"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"