File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717this implementation for the default when working with NumPy arrays.
1818
1919"""
20- __version__ = '1.5.1 '
20+ __version__ = '1.6 '
2121
2222from .common import * # noqa: F401, F403
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.6 (????-??-??)
4+
5+ ## Major Changes
6+
7+ - Drop support for Python 3.8.
8+
9+ - NumPy 2.0 is now left completely unwrapped.
10+
11+ - New flag ` use_compat ` to {func}` ~.array_namespace ` to force the use or
12+ non-use of the compat wrapper namespace. The default is to return a compat
13+ namespace when it is appropiate.
14+
15+ - Fix the ` copy ` flag to ` asarray ` for NumPy, CuPy, and Dask.
16+
17+ - Fix the ` device ` flag to ` asarray ` for CuPy.
18+
19+ - Fix various issues with ` asarray ` for Dask.
20+
21+ ## Minor Changes
22+
23+ - Test Python 3.12 on CI.
24+
25+ - Add more tests for {func}` ~.array_namespace ` .
26+
27+ - Add more tests for ` asarray ` .
28+
29+ - Add a test that there are no hard dependencies.
30+
331## 1.5.1 (2024-03-20)
432
533## Minor Changes
3664
3765### Minor Changes
3866
39- - Allow ` '2022.12' ` as the ` api_version ` in ` array_namespace() ` . ` '2021.12' `
40- is also supported but will issue a warning since the returned namespace will
41- still be a 2022.12 compliant one.
67+ - Allow ` '2022.12' ` as the ` api_version ` in {func} ` ~. array_namespace()` .
68+ ` '2021.12' ` is also supported but will issue a warning since the returned
69+ namespace will still be a 2022.12 compliant one.
4270
4371- Add wrapper for numpy.linalg.solve, which broadcasts the inputs according to
4472 the standard.
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ used will be the same array object from the wrapped library.
7575(array-api-strict)=
7676## Difference between ` array_api_compat ` and ` array_api_strict `
7777
78- [ ` array_api_strict ` ] ( https://github.com/ data-apis/array-api-strict ) is a
78+ [ ` array_api_strict ` ] ( https://data-apis.org /array-api-strict/ ) is a
7979strict minimal implementation of the array API standard, formerly known as
8080` numpy.array_api ` (see [ NEP
818147] ( https://numpy.org/neps/nep-0047-array-api-standard.html ) ). For example,
Original file line number Diff line number Diff line change 1010
1111tmpdir=$( mktemp -d)
1212SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
13- export PYTHONPATH=$ SCRIPT_DIR
13+ export PYTHONPATH=" $PYTHONPATH : $ SCRIPT_DIR"
1414
1515PYTEST_ARGS=" --max-examples 200 -v -rxXfE --ci --hypothesis-disable-deadline"
1616
You can’t perform that action at this time.
0 commit comments