@@ -12,29 +12,28 @@ numpy = ">=1.17"
12
12
[dependencies ]
13
13
python = " >=3.10,<3.13"
14
14
15
- [feature .extras .pypi-dependencies ]
15
+ [feature .extra .pypi-dependencies ]
16
16
dask = { version = " >=2024" , extras = [" array" ] }
17
17
scipy = " >=0.19"
18
18
scikit-learn = " *"
19
19
20
- [feature .docs .pypi-dependencies ]
20
+ [feature .doc .pypi-dependencies ]
21
21
mkdocs-material = " *"
22
22
mkdocstrings = { version = " *" , extras = [" python" ] }
23
23
mkdocs-gen-files = " *"
24
24
mkdocs-literate-nav = " *"
25
25
mkdocs-section-index = " *"
26
26
mkdocs-jupyter = " *"
27
27
28
- [feature .tests .tasks ]
29
- test = " pytest --pyargs sparse - n auto"
30
- test-mlir = { cmd = " pytest --pyargs sparse.mlir_backend -v" }
28
+ [feature .test .tasks ]
29
+ test = " pytest -n auto --doctest-modules "
30
+ test-mlir = " pytest --pyargs sparse.mlir_backend -v"
31
31
test-finch = { cmd = " pytest --pyargs sparse/tests -n auto -v" , depends-on = [" precompile" ] }
32
32
33
- [feature .tests . dependencies ]
33
+ [feature .test . pypi- dependencies ]
34
34
pytest = " >=3.5"
35
35
pytest-cov = " *"
36
36
pytest-xdist = " *"
37
- pre-commit = " *"
38
37
pytest-codspeed = " *"
39
38
40
39
[feature .notebooks .pypi-dependencies ]
@@ -51,6 +50,7 @@ matrepr = "*"
51
50
precompile = " python -c 'import finch'"
52
51
53
52
[feature .finch .dependencies ]
53
+ python = " >=3.10"
54
54
juliaup = " >=1.17.10"
55
55
56
56
[feature .finch .pypi-dependencies ]
@@ -63,16 +63,20 @@ SPARSE_BACKEND = "Finch"
63
63
[feature .finch .target .osx-arm64 .activation .env ]
64
64
PYTHONFAULTHANDLER = " ${HOME}/faulthandler.log"
65
65
66
+ [feature .mlir .dependencies ]
67
+ python = " >=3.10"
68
+
66
69
[feature .mlir .pypi-dependencies ]
67
70
scipy = " >=0.19"
68
71
finch-mlir = " >=0.0.2"
72
+ "PyYAML" = " *"
69
73
70
74
[feature .mlir .activation .env ]
71
75
SPARSE_BACKEND = " MLIR"
72
76
73
77
[environments ]
74
- tests = [" tests " , " extras " ]
75
- docs = [" docs " , " extras " ]
76
- mlir-dev = {features = [" tests " , " mlir" ], no-default-feature = true }
77
- finch-dev = {features = [" tests " , " finch" ], no-default-feature = true }
78
- notebooks = [" extras " , " mlir" , " finch" , " notebooks" ]
78
+ test = [" test " , " extra " ]
79
+ doc = [" doc " , " extra " ]
80
+ mlir-dev = {features = [" test " , " mlir" ], no-default-feature = true }
81
+ finch-dev = {features = [" test " , " finch" ], no-default-feature = true }
82
+ notebooks = [" extra " , " mlir" , " finch" , " notebooks" ]
0 commit comments