-
-
Notifications
You must be signed in to change notification settings - Fork 128
/
pixi.toml
82 lines (65 loc) · 1.9 KB
/
pixi.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
78
79
80
81
82
[project]
authors = ["Hameer Abbasi <[email protected]>"]
channels = ["conda-forge"]
name = "sparse"
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
[pypi-dependencies]
sparse = { path = ".", editable = true }
numba = ">=0.49"
numpy = ">=1.17"
[dependencies]
python = ">=3.10,<3.13"
[feature.extra.pypi-dependencies]
dask = { version = ">=2024", extras = ["array"] }
scipy = ">=0.19"
scikit-learn = "*"
[feature.doc.pypi-dependencies]
mkdocs-material = "*"
mkdocstrings = { version = "*", extras = ["python"] }
mkdocs-gen-files = "*"
mkdocs-literate-nav = "*"
mkdocs-section-index = "*"
mkdocs-jupyter = "*"
[feature.test.tasks]
test = "pytest -n auto --doctest-modules"
test-mlir = "pytest --pyargs sparse.mlir_backend -v"
test-finch = { cmd = "pytest --pyargs sparse/tests -n auto -v", depends-on = ["precompile"] }
[feature.test.pypi-dependencies]
pytest = ">=3.5"
pytest-cov = "*"
pytest-xdist = "*"
pytest-codspeed = "*"
[feature.notebooks.pypi-dependencies]
ipykernel = "*"
nbmake = "*"
matplotlib = "*"
networkx = "*"
jupyterlab = "*"
[feature.matrepr.pypi-dependencies]
matrepr = "*"
[feature.finch.tasks]
precompile = "python -c 'import finch'"
[feature.finch.dependencies]
python = ">=3.10"
juliaup = ">=1.17.10"
[feature.finch.pypi-dependencies]
scipy = ">=1.13"
finch-tensor = ">=0.2.3"
[feature.finch.activation.env]
SPARSE_BACKEND = "Finch"
[feature.finch.target.osx-arm64.activation.env]
PYTHONFAULTHANDLER = "${HOME}/faulthandler.log"
[feature.mlir.dependencies]
python = ">=3.10"
[feature.mlir.pypi-dependencies]
scipy = ">=0.19"
finch-mlir = ">=0.0.2"
"PyYAML" = "*"
[feature.mlir.activation.env]
SPARSE_BACKEND = "MLIR"
[environments]
test = ["test", "extra"]
doc = ["doc", "extra"]
mlir-dev = {features = ["test", "mlir"], no-default-feature = true}
finch-dev = {features = ["test", "finch"], no-default-feature = true}
notebooks = ["extra", "mlir", "finch", "notebooks"]