Skip to content

ENH: release 1.12 branch #323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion array_api_compat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
this implementation for the default when working with NumPy arrays.

"""
__version__ = '1.12.dev0'
__version__ = '1.12.0'

from .common import * # noqa: F401, F403
37 changes: 37 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog

## 1.12.0 (2025-05-13)


### Major changes

- The build system has been updated to use `pyproject.toml` instead of `setup.py`
- Support for Python 3.9 has been dropped. The minimum supported Python version is now
3.10; the minimum supported NumPy version is 1.22; the minimum supported `ndonnx`
version is 0.10.1.
- The `linalg` extension works correctly with `pytorch==2.7`.
- Multiple improvements to handling of `device` arguments in `numpy`, `cupy`, `torch`,
and `dask` backends. Support for multiple devices is still relatively immature,
and rough edges can be expected. Please report any issues you encounter.

### Minor changes

- `finfo` and `iinfo` functions now accept array arguments, in accordance with the
Array API spec;
- `torch.asarray` function propagates the device of the input array. This works around
the [pytorch issue #150199](https://github.com/pytorch/pytorch/issues/150199);
- `torch.repeat` function is now available;
- `torch.count_nonzero` function now correctly handles the case of a tuple `axis`
arguments and `keepdims=True`;
- `torch.meshgrid` wrapper defaults to `indexing="xy"`, in accordance with the
array API specification;
- `cupy.asarray` function now implements the `copy=True` argument;


The following users contributed to this release:

Evgeni Burovski,
Lucas Colley,
Neil Girdhar,
Joren Hammudoglu,
Guido Imperiale


## 1.11.2 (2025-03-20)

This is a bugfix release with no new features compared to version 1.11.
Expand Down
1 change: 1 addition & 0 deletions numpy-1-22-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_sc
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[nextafter]
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[multiply]
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[maximum]
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[minimum]
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[copysign]
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[pow]
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[pow]
Expand Down
Loading