-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (44 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
55 lines (44 loc) · 1.58 KB
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
[project]
name = "substrait"
description = "A python package for Substrait."
authors = [{name = "Substrait contributors", email = "substrait@googlegroups.com"}]
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.10,<3.15"
dependencies = [
"protobuf >=5,<7",
"substrait-protobuf==0.85.0",
"substrait-extensions==0.85.0",
]
dynamic = ["version"]
[tool.setuptools_scm]
write_to = "src/substrait/_version.py"
[project.optional-dependencies]
extensions = ["antlr4-python3-runtime", "substrait-antlr==0.85.0", "pyyaml"]
sql = ["sqloxide; python_version < '3.14'", "deepdiff"]
[dependency-groups]
dev = ["pytest >= 7.0.0", "antlr4-python3-runtime", "substrait-antlr==0.85.0", "pyyaml", "sqloxide; python_version < '3.14'", "deepdiff", "duckdb<=1.2.2; python_version < '3.14'", "datafusion"]
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = "tests"
[build-system]
requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=6.2.0"]
build-backend = "setuptools.build_meta"
[tool.ruff]
respect-gitignore = true
# should target minimum supported version
target-version = "py310"
lint.extend-select = ["I"]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64", "linux-aarch64"]
[tool.pixi.environments]
dev = { features = ["dev"], solve-group = "default" }
extensions = { features = ["extensions"], solve-group = "default" }
sql = { features = ["sql"], solve-group = "default" }
[tool.pixi.tasks]
format = "ruff format"
lint = "ruff check"
lint_fix = "ruff check --fix"
[tool.pixi.dependencies]
ruff = ">=0.14.10,<0.15"