Skip to content

Commit 42c9bfd

Browse files
committed
Apply review comments
1 parent 59daf9d commit 42c9bfd

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
uses: actions/checkout@v4
155155
with:
156156
repository: data-apis/array-api-tests
157-
ref: 'd295a0a66cd82a43e84c1b8d73ca198cc45e9d23' # Latest commit as of 2024-05-29
157+
ref: 'd295a0a66cd82a43e84c1b8d73ca198cc45e9d23' # Latest commit as of 2024-06-10
158158
submodules: 'true'
159159
path: 'array-api-tests'
160160
- name: Set up Python

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,6 @@ sandbox.py
8080

8181
# Version file
8282
sparse/_version.py
83+
84+
# Benchmarks
85+
/results/

sparse/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
from ._version import __version__, __version_tuple__ # noqa: F401
66

7-
__array_api_version__ = "2023.12"
8-
97

108
class BackendType(Enum):
119
Numba = "Numba"

sparse/numba_backend/__init__.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@
165165
where,
166166
)
167167
from ._dok import DOK
168-
from ._info import capabilities, default_device, default_dtypes, devices, dtypes
169168
from ._io import load_npz, save_npz
170169
from ._umath import elemwise
171170
from ._utils import random
@@ -175,7 +174,11 @@ def __array_namespace_info__():
175174
return _info
176175

177176

177+
__array_api_version__ = "2023.12"
178+
179+
178180
__all__ = [
181+
"__array_api_version__",
179182
"COO",
180183
"DOK",
181184
"GCXS",
@@ -210,7 +213,6 @@ def __array_namespace_info__():
210213
"broadcast_arrays",
211214
"broadcast_to",
212215
"can_cast",
213-
"capabilities",
214216
"ceil",
215217
"clip",
216218
"complex128",
@@ -221,14 +223,10 @@ def __array_namespace_info__():
221223
"copysign",
222224
"cos",
223225
"cosh",
224-
"default_device",
225-
"default_dtypes",
226-
"devices",
227226
"diagonal",
228227
"diagonalize",
229228
"divide",
230229
"dot",
231-
"dtypes",
232230
"e",
233231
"einsum",
234232
"elemwise",

0 commit comments

Comments
 (0)