File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.4.0 (XXX)
4+
5+ ### Major Changes
6+
7+ - The array object no longer defines ` __array__ ` , and conversion to NumPy relies on the
8+ buffer protocol, ` __buffer__ ` instead. This change should be completely transparent to
9+ users. Please report any issues this change causes however.
10+
11+ - Support for Python versions 3.9-3.11 was dropped. The minimum supported Python
12+ versions is now 3.12.
13+
14+
15+ ### Minor Changes
16+
17+ - ` asarray ` no longer accepts nested sequences of arrays. This is consistent with the
18+ standard, which only allows _ a (possibly nested) sequence of Python scalars_ . In most
19+ cases, this requires changing ` asarray(list_of_arrays) ` to ` stack(list_of_arrays) ` .
20+ Note that this effectively disallows code such as
21+ ` asarray([x[i] for i in range(x.shape[0]]) ` since indexing 1D arrays produces 0D
22+ arrays, not python scalars.
23+
24+ - Fix fancy indexing in a mult-device setting. The indexed arrays and all indexer arrays
25+ must be the same device. Otherwise, an error is raised.
26+
27+ - Make ` finfo ` and ` iinfo ` accept arrays or dtypes, as required by the standard.
28+
29+ - Make ` roll ` only accept integers and tuples for the ` shift ` argument.
30+
31+ - Make ` reshape ` only accept tuples for the ` shape ` argument.
32+
33+ - Make testing of array iteration compatible with Python 3.14.
34+
35+
36+ ### Contributors
37+
38+ The following users contributed to this release:
39+
40+ Lumir Balhar,
41+ Evgeni Burovski,
42+ Joren Hammudoglu
43+ Tim Head,
44+ Guido Imperiale,
45+ Lucy Liu
46+
47+
348## 2.3.1 (2025-03-20)
449
550This is a bugfix release with no new features compared to 2.3. This release fixes an
You can’t perform that action at this time.
0 commit comments