Skip to content

REL: Prepare for the NumPy 2.1.0 release [wheel build] #27236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion doc/changelog/2.1.0-changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ names contributed a patch for the first time.
* !ogidig5 +
* !partev
* !vahidmech +
* !h-vetinari
* Aaron Meurer
* Adrin Jalali +
* Agriya Khetarpal
Expand Down Expand Up @@ -118,7 +119,7 @@ names contributed a patch for the first time.
Pull requests merged
====================

A total of 455 pull requests were merged for this release.
A total of 469 pull requests were merged for this release.

* `#12150 <https://github.com/numpy/numpy/pull/12150>`__: ENH: When histogramming data with integer dtype, force bin width...
* `#24448 <https://github.com/numpy/numpy/pull/24448>`__: TST: add some tests of np.log for complex input.
Expand Down Expand Up @@ -575,3 +576,17 @@ A total of 455 pull requests were merged for this release.
* `#27162 <https://github.com/numpy/numpy/pull/27162>`__: BLD: use smaller scipy-openblas builds
* `#27166 <https://github.com/numpy/numpy/pull/27166>`__: ENH: fix thread-unsafe C API usages
* `#27173 <https://github.com/numpy/numpy/pull/27173>`__: MAINT: Bump pythoncapi-compat version.
* `#27176 <https://github.com/numpy/numpy/pull/27176>`__: REL: Prepare for the NumPy 2.1.0rc1 release [wheel build]
* `#27180 <https://github.com/numpy/numpy/pull/27180>`__: DOC: Add release notes for #26897
* `#27181 <https://github.com/numpy/numpy/pull/27181>`__: DOC: Add release notes for #27008
* `#27190 <https://github.com/numpy/numpy/pull/27190>`__: BUILD: use a shrunken version of scipy-openblas wheels [wheel...
* `#27193 <https://github.com/numpy/numpy/pull/27193>`__: REV: Revert undef I and document it
* `#27196 <https://github.com/numpy/numpy/pull/27196>`__: BUILD: improve download script
* `#27197 <https://github.com/numpy/numpy/pull/27197>`__: MAINT: update default NPY_FEATURE_VERSION after dropping py39
* `#27200 <https://github.com/numpy/numpy/pull/27200>`__: DOC: add free-threading release notes
* `#27209 <https://github.com/numpy/numpy/pull/27209>`__: BUG: Fix NPY_RAVEL_AXIS on backwards compatible NumPy 2 builds
* `#27216 <https://github.com/numpy/numpy/pull/27216>`__: TYP: Fixed & improved type hints for ``numpy.histogram2d``
* `#27217 <https://github.com/numpy/numpy/pull/27217>`__: TYP: Fix incompatible overrides in the ``numpy._typing._ufunc``...
* `#27229 <https://github.com/numpy/numpy/pull/27229>`__: BUG: Fix ``PyArray_ZeroContiguousBuffer`` (resize) with struct...
* `#27233 <https://github.com/numpy/numpy/pull/27233>`__: DOC: add docs on thread safety in NumPy
* `#27234 <https://github.com/numpy/numpy/pull/27234>`__: BUG: Allow fitting of degree zero polynomials with Polynomial.fit
6 changes: 0 additions & 6 deletions doc/release/upcoming_changes/26897.improvement.rst

This file was deleted.

8 changes: 0 additions & 8 deletions doc/release/upcoming_changes/27008.improvement.rst

This file was deleted.

17 changes: 17 additions & 0 deletions doc/source/release/2.1.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,23 @@ a python ``ContextVar``, making the context manager thread and async-safe.

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

Type hinting ``numpy.polynomial``
---------------------------------
Starting from the 2.1 release, PEP 484 type annotations have been included for
the functions and convenience classes in ``numpy.polynomial`` and its
sub-packages.

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

Improved ``numpy.dtypes`` type hints
------------------------------------
The type annotations for ``numpy.dtypes`` are now a better reflection of the
runtime: The ``numpy.dtype`` type-aliases have been replaced with specialized
``dtype`` *subtypes*, and the previously missing annotations for
``numpy.dtypes.StringDType`` have been added.

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


Performance improvements and changes
====================================
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requires = [

[project]
name = "numpy"
version = "2.1.0rc1"
version = "2.1.0"
# TODO: add `license-files` once PEP 639 is accepted (see meson-python#88)
license = {file = "LICENSE.txt"}

Expand Down
Loading