Skip to content

Commit 4ef54e3

Browse files
authored
Merge pull request #687 from pydata/finch-update
Update `finch-tensor`
2 parents f554fad + 80ba612 commit 4ef54e3

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

ci/array-api-xfails.txt

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,8 @@ array_api_tests/test_signatures.py::test_func_signature[linspace]
1818
array_api_tests/test_signatures.py::test_func_signature[meshgrid]
1919
array_api_tests/test_signatures.py::test_func_signature[tril]
2020
array_api_tests/test_signatures.py::test_func_signature[triu]
21-
# missing 'device' keyword
21+
# missing 'copy' keyword
2222
array_api_tests/test_signatures.py::test_func_signature[asarray]
23-
array_api_tests/test_signatures.py::test_func_signature[eye]
24-
array_api_tests/test_signatures.py::test_func_signature[full]
25-
array_api_tests/test_signatures.py::test_func_signature[full_like]
26-
array_api_tests/test_signatures.py::test_func_signature[ones]
27-
array_api_tests/test_signatures.py::test_func_signature[ones_like]
28-
array_api_tests/test_signatures.py::test_func_signature[zeros]
29-
array_api_tests/test_signatures.py::test_func_signature[zeros_like]
3023
# inspection functions
3124
array_api_tests/test_signatures.py::test_func_signature[isdtype]
3225
array_api_tests/test_signatures.py::test_func_signature[result_type]
@@ -41,9 +34,6 @@ array_api_tests/test_signatures.py::test_func_signature[flip]
4134
array_api_tests/test_signatures.py::test_func_signature[roll]
4235
array_api_tests/test_signatures.py::test_func_signature[squeeze]
4336
array_api_tests/test_signatures.py::test_func_signature[stack]
44-
array_api_tests/test_signatures.py::test_func_signature[conj]
45-
array_api_tests/test_signatures.py::test_func_signature[imag]
46-
array_api_tests/test_signatures.py::test_func_signature[real]
4737
array_api_tests/test_signatures.py::test_func_signature[matrix_transpose]
4838
array_api_tests/test_signatures.py::test_func_signature[vecdot]
4939
array_api_tests/test_signatures.py::test_func_signature[take]
@@ -135,9 +125,6 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[_
135125
# throws for x < 1 instead of NaN
136126
array_api_tests/test_operators_and_elementwise_functions.py::test_acosh
137127
# not implemented
138-
array_api_tests/test_operators_and_elementwise_functions.py::test_conj
139-
array_api_tests/test_operators_and_elementwise_functions.py::test_imag
140-
array_api_tests/test_operators_and_elementwise_functions.py::test_real
141128
array_api_tests/test_operators_and_elementwise_functions.py::test_logical_not
142129

143130
# test_data_type_functions
@@ -211,14 +198,11 @@ array_api_tests/test_has_names.py::test_has_names[sorting-sort]
211198
array_api_tests/test_has_names.py::test_has_names[data_type-isdtype]
212199
array_api_tests/test_has_names.py::test_has_names[data_type-result_type]
213200
array_api_tests/test_has_names.py::test_has_names[elementwise-clip]
214-
array_api_tests/test_has_names.py::test_has_names[elementwise-conj]
215201
array_api_tests/test_has_names.py::test_has_names[elementwise-copysign]
216202
array_api_tests/test_has_names.py::test_has_names[elementwise-hypot]
217-
array_api_tests/test_has_names.py::test_has_names[elementwise-imag]
218203
array_api_tests/test_has_names.py::test_has_names[elementwise-logical_not]
219204
array_api_tests/test_has_names.py::test_has_names[elementwise-maximum]
220205
array_api_tests/test_has_names.py::test_has_names[elementwise-minimum]
221-
array_api_tests/test_has_names.py::test_has_names[elementwise-real]
222206
array_api_tests/test_has_names.py::test_has_names[elementwise-signbit]
223207
array_api_tests/test_has_names.py::test_has_names[linear_algebra-matrix_transpose]
224208
array_api_tests/test_has_names.py::test_has_names[linear_algebra-vecdot]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tests = [
3838
]
3939
tox = ["sparse[tests]", "tox"]
4040
all = ["sparse[docs,tox]", "matrepr"]
41-
finch = ["finch-tensor>=0.1.22"]
41+
finch = ["finch-tensor>=0.1.24"]
4242

4343
[project.urls]
4444
Documentation = "https://sparse.pydata.org/"

sparse/finch_backend/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
complex64,
3232
complex128,
3333
compute,
34+
conj,
3435
cos,
3536
cosh,
3637
divide,
@@ -50,6 +51,7 @@
5051
greater,
5152
greater_equal,
5253
iinfo,
54+
imag,
5355
inf,
5456
int8,
5557
int16,
@@ -87,6 +89,7 @@
8789
pow,
8890
prod,
8991
random,
92+
real,
9093
remainder,
9194
reshape,
9295
round,
@@ -217,4 +220,7 @@
217220
"finfo",
218221
"iinfo",
219222
"can_cast",
223+
"real",
224+
"imag",
225+
"conj",
220226
]

0 commit comments

Comments
 (0)