Skip to content

Commit 281d5eb

Browse files
authored
ENH: Import moveaxis in Finch backend (#856)
1 parent add0118 commit 281d5eb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

ci/Finch-array-api-xfails.txt

-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ array_api_tests/test_signatures.py::test_func_signature[argmin]
3636
array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
3737
array_api_tests/test_signatures.py::test_func_signature[cumulative_sum]
3838
array_api_tests/test_signatures.py::test_func_signature[searchsorted]
39-
array_api_tests/test_signatures.py::test_func_signature[moveaxis]
4039
array_api_tests/test_signatures.py::test_func_signature[repeat]
4140
array_api_tests/test_signatures.py::test_func_signature[tile]
4241
array_api_tests/test_signatures.py::test_func_signature[unstack]
@@ -146,7 +145,6 @@ array_api_tests/test_has_names.py::test_has_names[manipulation-broadcast_to]
146145
array_api_tests/test_has_names.py::test_has_names[manipulation-concat]
147146
array_api_tests/test_has_names.py::test_has_names[manipulation-expand_dims]
148147
array_api_tests/test_has_names.py::test_has_names[manipulation-flip]
149-
array_api_tests/test_has_names.py::test_has_names[manipulation-moveaxis]
150148
array_api_tests/test_has_names.py::test_has_names[manipulation-repeat]
151149
array_api_tests/test_has_names.py::test_has_names[manipulation-roll]
152150
array_api_tests/test_has_names.py::test_has_names[manipulation-squeeze]

ci/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- python
77
- pip
88
- pip:
9-
- finch-tensor>=0.2.9
9+
- finch-tensor>=0.2.10
1010
- finch-mlir>=0.0.2
1111
- pytest-codspeed
1212
- numpy

pixi.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ juliaup = ">=1.17.10"
5555

5656
[feature.finch.pypi-dependencies]
5757
scipy = ">=1.13"
58-
finch-tensor = ">=0.2.9"
58+
finch-tensor = ">=0.2.10"
5959

6060
[feature.finch.activation.env]
6161
SPARSE_BACKEND = "Finch"

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ tests = [
5454
tox = ["sparse[tests]", "tox"]
5555
notebooks = ["sparse[tests]", "nbmake", "matplotlib"]
5656
all = ["sparse[docs,tox,notebooks,mlir]", "matrepr"]
57-
finch = ["finch-tensor>=0.2.9"]
57+
finch = ["finch-tensor>=0.2.10"]
5858
mlir = ["finch-mlir>=0.0.2"]
5959

6060
[project.urls]

sparse/finch_backend/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
matmul,
8383
max,
8484
min,
85+
moveaxis,
8586
multiply,
8687
nan,
8788
negative,
@@ -167,6 +168,7 @@
167168
"multiply",
168169
"negative",
169170
"permute_dims",
171+
"moveaxis",
170172
"positive",
171173
"pow",
172174
"prod",

0 commit comments

Comments
 (0)