From b72b4eb120b2222c36278987a9a2a0f02404a8dd Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Wed, 25 Dec 2024 18:59:14 +0200 Subject: [PATCH 1/4] bump version to 1.10.0 --- array_api_compat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array_api_compat/__init__.py b/array_api_compat/__init__.py index 4a03caa4..ac8784d0 100644 --- a/array_api_compat/__init__.py +++ b/array_api_compat/__init__.py @@ -17,6 +17,6 @@ this implementation for the default when working with NumPy arrays. """ -__version__ = '1.10.0.dev0' +__version__ = '1.10.0' from .common import * # noqa: F401, F403 From 4f0de1ae573e0daef49378623d7e1dcf1a33c86a Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Wed, 25 Dec 2024 19:20:40 +0200 Subject: [PATCH 2/4] DOC: update the changelog for 1.10.0 release --- docs/changelog.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 29a18a5c..4b59edca 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,28 @@ # Changelog +## 1.10.0 (2024-12-25) + +### Major Changes + +- New function `is_writeable_array` adds transparent support for readonly + arrays, such as JAX arrays or numpy arrays with `.flags.writeable=False`. + +- `asarray(..., copy=None)` with `dask` backend always copies, so that + `copy=None` and `copy=True` are equivalent for the `dask` backend. + This change is made to be forward compatible with the `dask==2024.12` + release. + + +### Minor Changes + +- `array_namespace` accepts (and ignores) `None` and python scalars (int, float, + complex, bool). This change is to simplify downstream adoption, for + functions where arguments can be either arrays or scalars. + +- `vecdot` conjugates its first argument, as stipulated by the Array API spec. + Previously, conjation if the first argument was missing. + + ## 1.9.1 (2024-10-29) ### Major Changes From 6d5366be3eb050150321314933606cbba137d9d0 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Wed, 25 Dec 2024 19:47:00 +0200 Subject: [PATCH 3/4] TST: add a cupy xfail --- cupy-xfails.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cupy-xfails.txt b/cupy-xfails.txt index fb7b03da..aa74e4d5 100644 --- a/cupy-xfails.txt +++ b/cupy-xfails.txt @@ -173,6 +173,9 @@ array_api_tests/test_special_cases.py::test_unary[trunc(x_i is -0) -> -0] array_api_tests/test_fft.py::test_fftn array_api_tests/test_fft.py::test_ifftn array_api_tests/test_fft.py::test_rfftn + +# observed in the 1.10 release process, is likely related to xfails above +array_api_tests/test_fft.py::test_irfftn # 2023.12 support # cupy.ndaray cannot be specified as `repeats` argument. From 361bf384c34e42a28b8a052c604afa89c99fa8d2 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Thu, 26 Dec 2024 16:45:28 +0200 Subject: [PATCH 4/4] bump the version to 1.10.1.dev0 --- array_api_compat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array_api_compat/__init__.py b/array_api_compat/__init__.py index ac8784d0..a333b8f3 100644 --- a/array_api_compat/__init__.py +++ b/array_api_compat/__init__.py @@ -17,6 +17,6 @@ this implementation for the default when working with NumPy arrays. """ -__version__ = '1.10.0' +__version__ = '1.10.1.dev0' from .common import * # noqa: F401, F403