-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Testing 2025.12 features in CI is a bit of chicken-and-egg, so we need to test locally first, make the array-api-strict release, and then polish the tests. This issue is to track the first step: make sure array-api-strict has all the features, and they have been tested locally.
A checked box means it's been tested with --max-examples 10_000 vs array_api_strict main branch.
Per the changelog:
Updates
APIs
-
__array_namespace__: remove guidance recommending that the returned namespace only include those names which are part of this specification (gh-931) -
__array_namespace_info__().default_device: clarify support forNonewhen the default device is not predictable (gh-961) -
__setitem__: specify type promotion behavior when thevalueargument is an array (gh-920) -
asarray: clarify that behavior when providing a nested sequence is unspecified (gh-917) -
clip: clarify type promotion behavior when providing scalar values forminand/ormaxarguments (gh-926) -
expand_dims: add support for specifying a tuple of axis positions (gh-988) --- tested with ENH:expand_dimstuple axes array-api-tests#414 -
permute_dims: add support for negative axes (gh-980) --- tested with ENH: test permute_dims with axis < 0 array-api-tests#395
Scalar Argument Support
The following APIs were updated to support both scalar and array arguments for one or more arguments:
-
searchsorted: add scalar argument support (gh-982)
Additions
New APIs and requirements added to the specification.
APIs
-
broadcast_shapes: broadcast one or more shapes against one another (gh-983) -- tested in ENH: test broadcast_shapes array-api-tests#403 -
isin: test for each element inx1whether the element is inx2(gh-959) -- tested in ENH: add a basic test of isin array-api-tests#426
Extensions
-
linalg.eig: return the eigenvalues and eigenvectors of a real or complex matrix (gh-978) -
linalg.eigvals: return the eigenvalues of a real or complex matrix (gh-978)
Breaking Changes
Reactions are currently unavailable