Skip to content

Commit 3d6a691

Browse files
authored
Merge pull request #128 from asmeurer/release
1.6 release
2 parents 33ca9e2 + f4b5194 commit 3d6a691

File tree

4 files changed

+34
-6
lines changed

4 files changed

+34
-6
lines changed

array_api_compat/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
this implementation for the default when working with NumPy arrays.
1818
1919
"""
20-
__version__ = '1.5.1'
20+
__version__ = '1.6'
2121

2222
from .common import * # noqa: F401, F403

docs/changelog.md

+31-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
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
@@ -36,9 +64,9 @@
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.

docs/index.md

+1-1
Original file line numberDiff line numberDiff 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
7979
strict minimal implementation of the array API standard, formerly known as
8080
`numpy.array_api` (see [NEP
8181
47](https://numpy.org/neps/nep-0047-array-api-standard.html)). For example,

test_cupy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pytest
1010

1111
tmpdir=$(mktemp -d)
1212
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
13-
export PYTHONPATH=$SCRIPT_DIR
13+
export PYTHONPATH="$PYTHONPATH:$SCRIPT_DIR"
1414

1515
PYTEST_ARGS="--max-examples 200 -v -rxXfE --ci --hypothesis-disable-deadline"
1616

0 commit comments

Comments
 (0)