Skip to content

Commit e0acd2b

Browse files
committed
REL: Prepare for the NumPy 2.5.0 release.
- Update 2.5.0-changelog.rst - Update 2.5.0-notes.rst - Update .mailmap - Update pyproject.toml
1 parent 8d928b7 commit e0acd2b

4 files changed

Lines changed: 48 additions & 14 deletions

File tree

‎.mailmap‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ Nicholas McKibben <[email protected]>
623623
Nick Minkyu Lee <[email protected]> fivemok <[email protected]>
624624
Nikita Zamuldinov <[email protected]>
625625
626+
626627
Nyakku Shigure <[email protected]>
627628
Norwid Behrnd <[email protected]>
628629

‎doc/changelog/2.5.0-changelog.rst‎

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
Generating change log for range v2.5.0.dev0..maintenance/2.5.x
12

23
Contributors
34
============
45

5-
A total of 129 people contributed to this release. People with a "+" by their
6+
A total of 132 people contributed to this release. People with a "+" by their
67
names contributed a patch for the first time.
78

89
* !EarlMilktea
@@ -46,6 +47,7 @@ names contributed a patch for the first time.
4647
* Daniel Haag +
4748
* Daniel Koronthály +
4849
* Daniel Tang +
50+
* Daniele Parmeggiani +
4951
* David Cortes
5052
* David Woods +
5153
* Davis Bennett +
@@ -85,6 +87,7 @@ names contributed a patch for the first time.
8587
* Maanas Arora
8688
* Maarten Baert +
8789
* Majianhan +
90+
* Manuel Jacob +
8891
* Marco Edward Gorelli
8992
* Marten van Kerkwijk
9093
* Matthias Bussonnier
@@ -101,6 +104,7 @@ names contributed a patch for the first time.
101104
* Nathan Legendre +
102105
* Nathaniel Starkman +
103106
* Nikita Zamuldinov +
107+
* Nishidh +
104108
* Noa Levi +
105109
* Peter Hawkins
106110
* Pey Lian Lim
@@ -138,7 +142,7 @@ names contributed a patch for the first time.
138142
Pull requests merged
139143
====================
140144

141-
A total of 528 pull requests were merged for this release.
145+
A total of 555 pull requests were merged for this release.
142146

143147
* `#25103 <https://github.com/numpy/numpy/pull/25103>`__: MAINT: Use ``spin lint`` in CI
144148
* `#26574 <https://github.com/numpy/numpy/pull/26574>`__: CI: replace pkgconfig-lite from Chocolatey with ``pip install``...
@@ -668,4 +672,31 @@ A total of 528 pull requests were merged for this release.
668672
* `#31537 <https://github.com/numpy/numpy/pull/31537>`__: BUG: Avoid heap buffer overflow for stringdtype searchsorted
669673
* `#31538 <https://github.com/numpy/numpy/pull/31538>`__: BUG: Avoid hwcap for RVV version detection due to faulty v0.7/v1.0...
670674
* `#31539 <https://github.com/numpy/numpy/pull/31539>`__: BLD: fix build failure with PYTHONSAFEPATH=1 (#30731)
675+
* `#31548 <https://github.com/numpy/numpy/pull/31548>`__: REL: Prepare for the NumPy 2.5.0rc1 release.
676+
* `#31569 <https://github.com/numpy/numpy/pull/31569>`__: DOC: add Python-level parallelism tips section (#30820)
677+
* `#31570 <https://github.com/numpy/numpy/pull/31570>`__: TYP: Annotate untyped attributes and dunder methods (#31550)
678+
* `#31571 <https://github.com/numpy/numpy/pull/31571>`__: BUG,TST: Fix condition for whether long double is “IBM double...
679+
* `#31572 <https://github.com/numpy/numpy/pull/31572>`__: BUG: Fix order of real and imaginary NaNs when sorting complex...
680+
* `#31629 <https://github.com/numpy/numpy/pull/31629>`__: TYP: Fix ``ma.[as[any]]array`` fallback overloads (#31482)
681+
* `#31630 <https://github.com/numpy/numpy/pull/31630>`__: BUG: For new-style wrapped legacy dtypes use old array printing...
682+
* `#31631 <https://github.com/numpy/numpy/pull/31631>`__: BUG: fix incorrect alignment handling and error handling in several...
683+
* `#31632 <https://github.com/numpy/numpy/pull/31632>`__: TST: Use pytest.warns as ignore filters+suppress_warnings interfere...
684+
* `#31634 <https://github.com/numpy/numpy/pull/31634>`__: BUG: fix suppress_warnings when context-aware warnings is on...
685+
* `#31636 <https://github.com/numpy/numpy/pull/31636>`__: MAINT, TST: Pin pytest to 9.0.3
686+
* `#31646 <https://github.com/numpy/numpy/pull/31646>`__: TST, TYP: Pin to windows-2022 for typecheck on windows.
687+
* `#31668 <https://github.com/numpy/numpy/pull/31668>`__: MAINT: Update pytest pins to 9.1.0
688+
* `#31671 <https://github.com/numpy/numpy/pull/31671>`__: TST: add 3.15t win32 CI and fix issues seen in that build (#31607)
689+
* `#31672 <https://github.com/numpy/numpy/pull/31672>`__: BUG: raise error when casting from StringDType to longdouble...
690+
* `#31673 <https://github.com/numpy/numpy/pull/31673>`__: BUG: NpyString comparison should use memcmp instead of strncmp...
691+
* `#31674 <https://github.com/numpy/numpy/pull/31674>`__: BUG: fix casts from StringDType to complex float (#31663)
692+
* `#31675 <https://github.com/numpy/numpy/pull/31675>`__: BUG: fix StringDType embedded and trailing NULL handling in several...
693+
* `#31679 <https://github.com/numpy/numpy/pull/31679>`__: DOC: Prevent arrow ligatures in generalized ufunc signatures
694+
* `#31683 <https://github.com/numpy/numpy/pull/31683>`__: MAINT: Clean up use for PyObject_\* APIs when PyMem_\* would...
695+
* `#31684 <https://github.com/numpy/numpy/pull/31684>`__: TST: Avoid sctypeDict in tests as e.g. ml_dtypes may mutate it...
696+
* `#31685 <https://github.com/numpy/numpy/pull/31685>`__: BUG: Use ``auxdata`` in (arg)sort ``strided_loop``\ s (#31670)
697+
* `#31697 <https://github.com/numpy/numpy/pull/31697>`__: MAINT: Avoid compiling uv for loongarch
698+
* `#31698 <https://github.com/numpy/numpy/pull/31698>`__: MAINT: Fix emscripten wheel build.
699+
* `#31700 <https://github.com/numpy/numpy/pull/31700>`__: MAINT: Bump pypa/cibuildwheel from 3.4.1 to 4.1.0
700+
* `#31703 <https://github.com/numpy/numpy/pull/31703>`__: BUG: fix StringDType distinct-allocator bugs and add tests (#31609)
701+
* `#31704 <https://github.com/numpy/numpy/pull/31704>`__: MAINT: update openblas to 0.3.33.112.0 (#31649)
671702

‎doc/source/release/2.5.0-notes.rst‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
NumPy 2.5.0 Release Notes
55
==========================
66

7-
Numpy 3.5.0 is a transitional release. It drops support for Python 3.11,
7+
Numpy 2.5.0 is a transitional release. It drops support for Python 3.11,
88
marking the end of distutils, and expires a large number of deprecations made
99
in the 2.0.x release. It also improves free threading and brings sorting into
1010
compliance with the array-api standard with the addition of descending sorts.
11-
Python 3.15 will be supported when it is released.
11+
There is also a fair amount of preparation for Python 3.15, which will be
12+
supported starting with the first rc.
1213

1314
This release supports Python versions 3.12-3.14.
1415

@@ -19,17 +20,18 @@ Highlights
1920
* Distutils has been removed,
2021
* Many expired deprecations, see below,
2122
* Many new deprecations, see below,
22-
* Many static typing improvements.
23+
* Many static typing improvements,
2324
* Improved support for free threading,
24-
* Support for descending sorts,
25+
* Support for descending sorts.
2526

2627
See New Features below for other additions.
2728

2829

2930
Deprecations
3031
============
3132

32-
* ``numpy.char.chararray`` is deprecated. Use an ``ndarray`` with a string or bytes dtype instead.
33+
* ``numpy.char.chararray`` is deprecated. Use an ``ndarray`` with a string or
34+
bytes dtype instead.
3335

3436
(`gh-30605 <https://github.com/numpy/numpy/pull/30605>`__)
3537

@@ -55,10 +57,9 @@ Deprecations
5557

5658
* Setting the ``shape`` attribute is deprecated because mutating an array is
5759
unsafe if an array is shared, especially by multiple threads. As an
58-
alternative, you can create a new view via ``np.reshape`` or
59-
``np.ndarray.reshape``. For example: ``x = np.arange(15); x = np.reshape(x,
60-
(3, 5))``. To ensure no copy is made from the data, one can use
61-
``np.reshape(..., copy=False)``.
60+
alternative, you can create a new view via ``np.reshape`` or ``np.ndarray.reshape``.
61+
For example: ``x = np.arange(15); x = np.reshape(x, (3, 5))``. To ensure
62+
that no copy is made from the data, one can use ``np.reshape(..., copy=False)``.
6263

6364
While setting the shape on an array is discouraged, for cases where it is
6465
difficult to work around, e.g., in ``__array_finalize__``, it is possible
@@ -597,8 +598,9 @@ arguments.
597598

598599
``numpy.triu_indices`` now accepts ``unsigned integers``
599600
--------------------------------------------------------
600-
``numpy.triu_indices`` previously used to error in some cases when ``unsigned
601-
integers`` were given as arguments. Now, it accepts them in all cases.
601+
``numpy.triu_indices`` previously used to error in some cases when
602+
``unsigned integers`` were given as arguments. Now, it accepts them in all
603+
cases.
602604

603605
(`gh-30869 <https://github.com/numpy/numpy/pull/30869>`__)
604606

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires = [
77

88
[project]
99
name = "numpy"
10-
version = "2.5.0rc1"
10+
version = "2.5.0"
1111
description = "Fundamental package for array computing in Python"
1212
authors = [{name = "Travis E. Oliphant et al."}]
1313
maintainers = [

0 commit comments

Comments
 (0)