Skip to content

Commit c0ca1c6

Browse files
committed
fix
1 parent 877ea1a commit c0ca1c6

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

Diff for: .github/workflows/tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ jobs:
4040
python -m pip install 'numpy==1.26.*'
4141
else
4242
# Don't `pip install .[dev]` as it would pull in the whole torch cuda stack
43-
python -m pip install array-api-strict dask[array] jax[cpu] ndonnx numpy sparse
43+
python -m pip install array-api-strict dask[array] jax[cpu] numpy sparse
4444
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
45+
if [ "${{ matrix.python-version }}" != "3.13" ]; then
46+
# onnx wheels are not available on Python 3.13 at the moment of writing
47+
python -m pip install ndonnx
48+
fi
4549
fi
4650
4751
- name: Dump pip environment

Diff for: docs/supported-array-libraries.md

+2-11
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ deviations from the standard should be noted:
3636
50](https://numpy.org/neps/nep-0050-scalar-promotion.html) and
3737
https://github.com/numpy/numpy/issues/22341)
3838

39-
- `asarray()` does not support `copy=False`.
40-
4139
- Functions which are not wrapped may not have the same type annotations
4240
as the spec.
4341

@@ -47,12 +45,9 @@ The minimum supported NumPy version is 1.22. However, this older version of
4745
NumPy has a few issues:
4846

4947
- `unique_*` will not compare nans as unequal.
50-
- `finfo()` has no `smallest_normal`.
5148
- No `from_dlpack` or `__dlpack__`.
5249
- `argmax()` and `argmin()` do not have `keepdims`.
5350
- `qr()` doesn't support matrix stacks.
54-
- `asarray()` doesn't support `copy=True` (as noted above, `copy=False` is not
55-
supported even in the latest NumPy).
5651
- Type promotion behavior will be value based for 0-D arrays (and there is no
5752
`NPY_PROMOTION_STATE=weak` to disable this).
5853

@@ -72,8 +67,8 @@ version.
7267
attribute in the spec. Use the {func}`~.size()` helper function as a
7368
portable workaround.
7469

75-
- PyTorch does not have unsigned integer types other than `uint8`, and no
76-
attempt is made to implement them here.
70+
- PyTorch does has incomplete support for unsigned integer types other
71+
than `uint8`, and no attempt is made to implement it here.
7772

7873
- PyTorch has type promotion semantics that differ from the array API
7974
specification for 0-D tensor objects. The array functions in this wrapper
@@ -100,8 +95,6 @@ version.
10095
- As with NumPy, type annotations and positional-only arguments may not
10196
exactly match the spec for functions that are not wrapped at all.
10297

103-
The minimum supported PyTorch version is 1.13.
104-
10598
(jax-support)=
10699
## [JAX](https://jax.readthedocs.io/en/latest/)
107100

@@ -131,8 +124,6 @@ For `linalg`, several methods are missing, for example:
131124
- `matrix_rank`
132125
Other methods may only be partially implemented or return incorrect results at times.
133126

134-
The minimum supported Dask version is 2023.12.0.
135-
136127
(sparse-support)=
137128
## [Sparse](https://sparse.pydata.org/en/stable/)
138129

Diff for: numpy-1-22-xfails.txt

-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
4242
# NumPy 1.22 specific XFAILS
4343
############################
4444

45-
# finfo has no smallest_normal
46-
array_api_tests/test_data_type_functions.py::test_finfo
47-
4845
# dlpack stuff
4946
array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack]
5047
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__]

0 commit comments

Comments
 (0)