-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpixi.toml
More file actions
151 lines (126 loc) · 3.87 KB
/
pixi.toml
File metadata and controls
151 lines (126 loc) · 3.87 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
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
142
143
144
145
146
147
148
149
150
151
[workspace]
channels = ["conda-forge"]
description = "A declarative, polars-native data frame validation library."
name = "dataframely"
platforms = ["linux-64", "linux-aarch64", "osx-64", "osx-arm64", "win-64"]
[tasks]
postinstall = "maturin develop"
postinstall-release = "pip install --no-build-isolation --no-deps --disable-pip-version-check -v -e ."
[dependencies]
python = ">=3.10"
fsspec = ">=2025.9"
numpy = "*"
# NOTE: This is the oldest supported polars version.
# It should always match the version in feature.polars-minimal.
# The latest polars version is in feature.polars-latest.
polars = ">=1.35"
maturin = ">=1.7,<2"
pip = "*"
[feature.dev.dependencies]
jupyter = "*"
[feature.docs.dependencies]
autodocsumm = "*"
ipython = "*"
myst-parser = "*"
nbsphinx = "*"
numpydoc = "*"
pydata-sphinx-theme = "*"
sphinx = ">=8.2,<9"
sphinx-copybutton = "*"
sphinx-design = "*"
sphinx-toolbox = "*"
[feature.docs.tasks]
docs = { cmd = "rm -rf _build && find . -name _gen -type d -exec rm -rf \"{}\" + && sphinx-build -M html . _build --fail-on-warning", cwd = "docs", depends-on = "postinstall" }
readthedocs = { cmd = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html", depends-on = "docs" }
[feature.test.dependencies]
boto3 = "*"
moto = "*"
mypy = ">=1.13"
pandas = "*"
pandas-stubs = "*"
pyodbc = "*"
pytest = ">=6"
pytest-benchmark = "*"
pytest-cov = "*"
pytest-md = "*"
pytest-mock = ">=3.14.1,<4"
s3fs = ">=2025.9"
scikit-learn = "*"
[feature.test.tasks]
test = "pytest"
test-bench = "pytest tests/benches --benchmark-only --benchmark-sort mean --benchmark-columns min,max,mean,rounds"
test-coverage = "pytest --cov=dataframely --cov-report=xml --cov-report=term-missing"
test-no-optional = "pytest -m 'not with_optionals'"
[feature.optionals.dependencies]
deltalake = "*"
pyarrow = "*"
pydantic = ">=2.11.9,<3"
pydantic-core = ">=2.33.2,<3"
sqlalchemy = ">=2"
[feature.build.dependencies]
python-build = "*"
setuptools-scm = "*"
twine = "*"
wheel = "*"
[feature.build.target.unix.dependencies]
sed = "*"
[feature.build.tasks]
build-sdist = "python -m build --sdist --no-isolation ."
build-wheel = "python -m build --wheel --no-isolation ."
check-wheel = "twine check dist/*"
set-version = "sed -i \"s/0.0.0/$(python -m setuptools_scm)/\" pyproject.toml"
[feature.lint.dependencies]
docformatter = "*"
insert-license-header = "*"
pre-commit = "*"
pre-commit-hooks = "*"
prettier = "*"
ruff = "*"
taplo = "*"
typos = "*"
[feature.lint.tasks]
pre-commit-install = "pre-commit install"
pre-commit-run = "pre-commit run -a"
[feature.py310.dependencies]
python = "3.10.*"
typing-extensions = "*"
[feature.py311.dependencies]
python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"
[feature.py313.dependencies]
python = "3.13.*"
[feature.py314.dependencies]
python = "3.14.*"
[feature.polars-minimal.dependencies]
# NOTE: Update docs/faq.md when updating this.
polars = "1.35.*"
[feature.polars-latest.dependencies]
# NOTE: Update docs/faq.md when updating this.
polars = "1.39.*"
[feature.nightly.tasks]
install-polars-nightly = "pip install --pre --no-deps --upgrade --only-binary :all: polars polars-runtime-32"
[environments]
build = ["build"]
default = ["dev", "lint", "optionals", "polars-latest", "py314", "test"]
docs = ["docs"]
lint = { features = ["lint"], no-default-feature = true }
nightly = ["nightly", "optionals", "test"]
# Different python versions with the latest polars
py310 = ["polars-latest", "py310", "test"]
py311 = ["polars-latest", "py311", "test"]
py312 = ["polars-latest", "py312", "test"]
py313 = ["polars-latest", "py313", "test"]
py314 = ["polars-latest", "py314", "test"]
# Test with optional dependencies
py314-optionals = ["optionals", "polars-latest", "py314", "test"]
# Polars compatibility envs
default-polars-minimal = [
"dev",
"lint",
"optionals",
"polars-minimal",
"py314",
"test",
]
polars-minimal = ["polars-minimal", "py314", "test"]