From f2c25372f0ecc768a4e27e2397b0e2bae9bd87a3 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Fri, 29 Mar 2024 18:58:28 -0600 Subject: [PATCH] Add changelog entries for a 1.6 release and bump the version I still need to test cupy so I don't know if I will get this out now or if it will need to wait. There is nothing critical in this release. --- array_api_compat/__init__.py | 2 +- docs/changelog.md | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/array_api_compat/__init__.py b/array_api_compat/__init__.py index 79712ae1..cd127f44 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.5.1' +__version__ = '1.6' from .common import * # noqa: F401, F403 diff --git a/docs/changelog.md b/docs/changelog.md index 2b6a1718..3525c2f1 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,33 @@ # Changelog +## 1.6 (????-??-??) + +## Major Changes + +- Drop support for Python 3.8. + +- NumPy 2.0 is now left completely unwrapped. + +- New flag `use_compat` to {func}`~.array_namespace` to force the use or + non-use of the compat wrapper namespace. The default is to return a compat + namespace when it is appropiate. + +- Fix the `copy` flag to `asarray` for NumPy, CuPy, and Dask. + +- Fix the `device` flag to `asarray` for CuPy. + +- Fix various issues with `asarray` for Dask. + +## Minor Changes + +- Test Python 3.12 on CI. + +- Add more tests for {func}`~.array_namespace`. + +- Add more tests for `asarray`. + +- Add a test that there are no hard dependencies. + ## 1.5.1 (2024-03-20) ## Minor Changes @@ -36,9 +64,9 @@ ### Minor Changes -- Allow `'2022.12'` as the `api_version` in `array_namespace()`. `'2021.12'` - is also supported but will issue a warning since the returned namespace will - still be a 2022.12 compliant one. +- Allow `'2022.12'` as the `api_version` in {func}`~.array_namespace()`. + `'2021.12'` is also supported but will issue a warning since the returned + namespace will still be a 2022.12 compliant one. - Add wrapper for numpy.linalg.solve, which broadcasts the inputs according to the standard.