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. diff --git a/docs/index.md b/docs/index.md index aafefcc5..e4e59d5b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -75,7 +75,7 @@ used will be the same array object from the wrapped library. (array-api-strict)= ## Difference between `array_api_compat` and `array_api_strict` -[`array_api_strict`](https://github.com/data-apis/array-api-strict) is a +[`array_api_strict`](https://data-apis.org/array-api-strict/) is a strict minimal implementation of the array API standard, formerly known as `numpy.array_api` (see [NEP 47](https://numpy.org/neps/nep-0047-array-api-standard.html)). For example, diff --git a/test_cupy.sh b/test_cupy.sh index 3d8c0711..1655597e 100755 --- a/test_cupy.sh +++ b/test_cupy.sh @@ -10,7 +10,7 @@ pytest tmpdir=$(mktemp -d) SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -export PYTHONPATH=$SCRIPT_DIR +export PYTHONPATH="$PYTHONPATH:$SCRIPT_DIR" PYTEST_ARGS="--max-examples 200 -v -rxXfE --ci --hypothesis-disable-deadline"