Skip to content

Commit

Permalink
Merge pull request #24653 from charris/prepare-1.26.0rc1
Browse files Browse the repository at this point in the history
REL: Prepare for the NumPy 1.26.0rc1 release.
  • Loading branch information
charris committed Sep 6, 2023
2 parents bbd7561 + c3f4b05 commit 436752e
Show file tree
Hide file tree
Showing 10 changed files with 160 additions and 45 deletions.
4 changes: 4 additions & 0 deletions .mailmap
Expand Up @@ -401,6 +401,7 @@ Matthew Harrigan <harrigan.matthew@gmail.com>
Matthias Bussonnier <bussonniermatthias@gmail.com> <mbussonnier@ucmerced.edu>
Matthieu Darbois <mayeut@users.noreply.github.com>
Matti Picus <matti.picus@gmail.com>
Matti Picus <matti.picus@gmail.com> mattip <mattip@users.noreply.github.com>
Maximilian Konrad <maximilianlukaskonrad@hotmail.de>
Melissa Weber Mendonça <melissawm@gmail.com>
Melissa Weber Mendonça <melissawm@gmail.com> <melissawm.github@gmail.com>
Expand All @@ -427,6 +428,8 @@ Mitchell Faas <Faas.Mitchell@gmail.com> <35742861+Mitchell-Faas@users.noreply.gi
Muhammad Kasim <firman.kasim@gmail.com>
Mukulika Pahari <mukulikapahari@gmail.com>
Mukulika Pahari <mukulikapahari@gmail.com> <60316606+Mukulikaa@users.noreply.github.com>
Namami Shanker <namami2011@gmail.com>
Namami Shanker <namami2011@gmail.com> NamamiShanker <NamamiShanker@users.noreply.github.com>
Nathaniel J. Smith <njs@pobox.com>
Naveen Arunachalam <notatroll.troll@gmail.com> naveenarun <notatroll.troll@gmail.com>
Neil Girdhar <mistersheik@gmail.com>
Expand Down Expand Up @@ -477,6 +480,7 @@ Raghuveer Devulapalli <me.raghuveer@gmail.com> <44766858+r-devulap@users.noreply
Rajas Rade <raderajas@gmail.com> lkdmttg7 <inprovertmer07@gmail.com>
Rakesh Vasudevan <rakesh.nvasudev@gmail.com>
Ralf Gommers <ralf.gommers@gmail.com> <ralf.gommers@googlemail.com>
Ralf Gommers <ralf.gommers@gmail.com> rgommers <rgommers@users.noreply.github.com>
Rehas Sachdeva <aquannie@gmail.com>
Ritta Narita <narittan@gmail.com>
Riya Sharma <navneet.nmk@gmail.com>
Expand Down
45 changes: 43 additions & 2 deletions doc/changelog/1.26.0-changelog.rst
Expand Up @@ -2,14 +2,22 @@
Contributors
============

A total of 11 people contributed to this release. People with a "+" by their
A total of 18 people contributed to this release. People with a "+" by their
names contributed a patch for the first time.

* @DWesl
* Albert Steppi +
* Bas van Beek
* Charles Harris
* Developer-Ecosystem-Engineering
* Jake Vanderplas
* Marten van Kerkwijk
* Matti Picus
* Melissa Weber Mendonça
* Namami Shanker
* Nathan Goldbaum
* Ralf Gommers
* Rohit Goswami
* Sayed Adel
* Sebastian Berg
* Stefan van der Walt
Expand All @@ -19,7 +27,7 @@ names contributed a patch for the first time.
Pull requests merged
====================

A total of 18 pull requests were merged for this release.
A total of 51 pull requests were merged for this release.

* `#24305 <https://github.com/numpy/numpy/pull/24305>`__: MAINT: Prepare 1.26.x branch for development
* `#24308 <https://github.com/numpy/numpy/pull/24308>`__: MAINT: Massive update of files from main for numpy 1.26
Expand All @@ -39,3 +47,36 @@ A total of 18 pull requests were merged for this release.
* `#24404 <https://github.com/numpy/numpy/pull/24404>`__: BLD: vendor meson-python to make the Windows builds with SIMD...
* `#24405 <https://github.com/numpy/numpy/pull/24405>`__: BLD, SIMD: The meson CPU dispatcher implementation
* `#24406 <https://github.com/numpy/numpy/pull/24406>`__: MAINT: Remove versioneer
* `#24409 <https://github.com/numpy/numpy/pull/24409>`__: REL: Prepare for the NumPy 1.26.0b1 release.
* `#24453 <https://github.com/numpy/numpy/pull/24453>`__: MAINT: Pin upper version of sphinx.
* `#24455 <https://github.com/numpy/numpy/pull/24455>`__: ENH: Add prefix to _ALIGN Macro
* `#24456 <https://github.com/numpy/numpy/pull/24456>`__: BUG: cleanup warnings [skip azp][skip circle][skip travis][skip...
* `#24460 <https://github.com/numpy/numpy/pull/24460>`__: MAINT: Upgrade to spin 0.5
* `#24495 <https://github.com/numpy/numpy/pull/24495>`__: BUG: ``asv dev`` has been removed, use ``asv run``.
* `#24496 <https://github.com/numpy/numpy/pull/24496>`__: BUG: Fix meson build failure due to unchanged inplace auto-generated...
* `#24521 <https://github.com/numpy/numpy/pull/24521>`__: BUG: fix issue with git-version script, needs a shebang to run
* `#24522 <https://github.com/numpy/numpy/pull/24522>`__: BUG: Use a default assignment for git_hash [skip ci]
* `#24524 <https://github.com/numpy/numpy/pull/24524>`__: BUG: fix NPY_cast_info error handling in choose
* `#24526 <https://github.com/numpy/numpy/pull/24526>`__: BUG: Fix common block handling in f2py
* `#24541 <https://github.com/numpy/numpy/pull/24541>`__: CI,TYP: Bump mypy to 1.4.1
* `#24542 <https://github.com/numpy/numpy/pull/24542>`__: BUG: Fix assumed length f2py regression
* `#24544 <https://github.com/numpy/numpy/pull/24544>`__: MAINT: Harmonize fortranobject
* `#24545 <https://github.com/numpy/numpy/pull/24545>`__: TYP: add kind argument to numpy.isin type specification
* `#24561 <https://github.com/numpy/numpy/pull/24561>`__: BUG: fix comparisons between masked and unmasked structured arrays
* `#24590 <https://github.com/numpy/numpy/pull/24590>`__: CI: Exclude import libraries from list of DLLs on Cygwin.
* `#24591 <https://github.com/numpy/numpy/pull/24591>`__: BLD: fix ``_umath_linalg`` dependencies
* `#24594 <https://github.com/numpy/numpy/pull/24594>`__: MAINT: Stop testing on ppc64le.
* `#24602 <https://github.com/numpy/numpy/pull/24602>`__: BLD: meson-cpu: fix SIMD support on platforms with no features
* `#24606 <https://github.com/numpy/numpy/pull/24606>`__: BUG: Change Cython ``binding`` directive to "False".
* `#24613 <https://github.com/numpy/numpy/pull/24613>`__: ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including...
* `#24614 <https://github.com/numpy/numpy/pull/24614>`__: DOC: Update building docs to use Meson
* `#24615 <https://github.com/numpy/numpy/pull/24615>`__: TYP: Add the missing ``casting`` keyword to ``np.clip``
* `#24616 <https://github.com/numpy/numpy/pull/24616>`__: TST: convert cython test from setup.py to meson
* `#24617 <https://github.com/numpy/numpy/pull/24617>`__: MAINT: Fixup ``fromnumeric.pyi``
* `#24622 <https://github.com/numpy/numpy/pull/24622>`__: BUG, ENH: Fix ``iso_c_binding`` type maps and fix ``bind(c)``...
* `#24629 <https://github.com/numpy/numpy/pull/24629>`__: TYP: Allow ``binary_repr`` to accept any object implementing...
* `#24630 <https://github.com/numpy/numpy/pull/24630>`__: TYP: Explicitly declare ``dtype`` and ``generic`` hashable
* `#24637 <https://github.com/numpy/numpy/pull/24637>`__: ENH: Refactor the typing "reveal" tests using `typing.assert_type`
* `#24638 <https://github.com/numpy/numpy/pull/24638>`__: MAINT: Bump actions/checkout from 3.6.0 to 4.0.0
* `#24647 <https://github.com/numpy/numpy/pull/24647>`__: ENH: ``meson`` backend for ``f2py``
* `#24648 <https://github.com/numpy/numpy/pull/24648>`__: MAINT: Refactor partial load Workaround for Clang
7 changes: 0 additions & 7 deletions doc/release/upcoming_changes/23789.new_feature.rst

This file was deleted.

5 changes: 0 additions & 5 deletions doc/release/upcoming_changes/24053.new_feature.rst

This file was deleted.

12 changes: 0 additions & 12 deletions doc/release/upcoming_changes/24532.new_feature.rst

This file was deleted.

5 changes: 0 additions & 5 deletions doc/release/upcoming_changes/24555.improvement.rst

This file was deleted.

10 changes: 0 additions & 10 deletions doc/release/upcoming_changes/24555.new_feature.rst

This file was deleted.

113 changes: 111 additions & 2 deletions doc/source/release/1.26.0-notes.rst
Expand Up @@ -21,9 +21,75 @@ The highlights of this release are:
- Cython 3.0.0 compatibility.
- Use of the Meson build system
- Updated SIMD support
- f2py fixes, meson and bind(x) support

The Python versions supported in this release are 3.9-3.12.


New Features
============

Array API v2022.12 support in ``numpy.array_api``
-------------------------------------------------

- ``numpy.array_api`` now full supports the `v2022.12 version
<https://data-apis.org/array-api/2022.12>`__ of the array API standard. Note
that this does not yet include the optional ``fft`` extension in the
standard.

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

Support for the updated Accelerate BLAS/LAPACK library
------------------------------------------------------
Support for the updated Accelerate BLAS/LAPACK library, including ILP64 (64-bit
integer) support, in macOS 13.3 has been added. This brings arm64 support, and
significant performance improvements of up to 10x for commonly used linear
algebra operations. When Accelerate is selected at build time, the 13.3+
version will automatically be used if available.

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

``meson`` backend for ``f2py``
------------------------------
``f2py`` in compile mode (i.e. ``f2py -c``) now accepts the ``--backend meson``
option. This is the default option for Python ``3.12`` on-wards. Older versions
will still default to ``--backend distutils``.

To support this in realistic use-cases, in compile mode ``f2py`` takes a
``--dep`` flag one or many times which maps to ``dependency()`` calls in the
``meson`` backend, and does nothing in the ``distutils`` backend.

There are no changes for users of ``f2py`` only as a code generator, i.e.
without ``-c``.

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

``bind(c)`` support for ``f2py``
--------------------------------
Both functions and subroutines can be annotated with ``bind(c)``. ``f2py`` will
handle both the correct type mapping, and preserve the unique label for other
``C`` interfaces.

**Note:** ``bind(c, name = 'routine_name_other_than_fortran_routine')`` is not
honored by the ``f2py`` bindings by design, since ``bind(c)`` with the ``name``
is meant to guarantee only the same name in ``C`` and ``Fortran``, not in
``Python`` and ``Fortran``.

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


Improvements
============

``iso_c_binding`` support for ``f2py``
--------------------------------------
Previously, users would have to define their own custom ``f2cmap`` file to use
type mappings defined by the Fortran2003 ``iso_c_binding`` intrinsic module.
These type maps are now natively supported by ``f2py``

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


Build system changes
====================

Expand Down Expand Up @@ -75,27 +141,37 @@ issue tracker. We aim to phase out ``setup.py`` builds as soon as possible, and
therefore would like to see all potential blockers surfaced early on in the
1.26.0 release cycle.


Contributors
============

A total of 11 people contributed to this release. People with a "+" by their
A total of 18 people contributed to this release. People with a "+" by their
names contributed a patch for the first time.

* @DWesl
* Albert Steppi +
* Bas van Beek
* Charles Harris
* Developer-Ecosystem-Engineering
* Jake Vanderplas
* Marten van Kerkwijk
* Matti Picus
* Melissa Weber Mendonça
* Namami Shanker
* Nathan Goldbaum
* Ralf Gommers
* Rohit Goswami
* Sayed Adel
* Sebastian Berg
* Stefan van der Walt
* Tyler Reddy
* Warren Weckesser


Pull requests merged
====================

A total of 18 pull requests were merged for this release.
A total of 51 pull requests were merged for this release.

* `#24305 <https://github.com/numpy/numpy/pull/24305>`__: MAINT: Prepare 1.26.x branch for development
* `#24308 <https://github.com/numpy/numpy/pull/24308>`__: MAINT: Massive update of files from main for numpy 1.26
Expand All @@ -115,3 +191,36 @@ A total of 18 pull requests were merged for this release.
* `#24404 <https://github.com/numpy/numpy/pull/24404>`__: BLD: vendor meson-python to make the Windows builds with SIMD...
* `#24405 <https://github.com/numpy/numpy/pull/24405>`__: BLD, SIMD: The meson CPU dispatcher implementation
* `#24406 <https://github.com/numpy/numpy/pull/24406>`__: MAINT: Remove versioneer
* `#24409 <https://github.com/numpy/numpy/pull/24409>`__: REL: Prepare for the NumPy 1.26.0b1 release.
* `#24453 <https://github.com/numpy/numpy/pull/24453>`__: MAINT: Pin upper version of sphinx.
* `#24455 <https://github.com/numpy/numpy/pull/24455>`__: ENH: Add prefix to _ALIGN Macro
* `#24456 <https://github.com/numpy/numpy/pull/24456>`__: BUG: cleanup warnings [skip azp][skip circle][skip travis][skip...
* `#24460 <https://github.com/numpy/numpy/pull/24460>`__: MAINT: Upgrade to spin 0.5
* `#24495 <https://github.com/numpy/numpy/pull/24495>`__: BUG: ``asv dev`` has been removed, use ``asv run``.
* `#24496 <https://github.com/numpy/numpy/pull/24496>`__: BUG: Fix meson build failure due to unchanged inplace auto-generated...
* `#24521 <https://github.com/numpy/numpy/pull/24521>`__: BUG: fix issue with git-version script, needs a shebang to run
* `#24522 <https://github.com/numpy/numpy/pull/24522>`__: BUG: Use a default assignment for git_hash [skip ci]
* `#24524 <https://github.com/numpy/numpy/pull/24524>`__: BUG: fix NPY_cast_info error handling in choose
* `#24526 <https://github.com/numpy/numpy/pull/24526>`__: BUG: Fix common block handling in f2py
* `#24541 <https://github.com/numpy/numpy/pull/24541>`__: CI,TYP: Bump mypy to 1.4.1
* `#24542 <https://github.com/numpy/numpy/pull/24542>`__: BUG: Fix assumed length f2py regression
* `#24544 <https://github.com/numpy/numpy/pull/24544>`__: MAINT: Harmonize fortranobject
* `#24545 <https://github.com/numpy/numpy/pull/24545>`__: TYP: add kind argument to numpy.isin type specification
* `#24561 <https://github.com/numpy/numpy/pull/24561>`__: BUG: fix comparisons between masked and unmasked structured arrays
* `#24590 <https://github.com/numpy/numpy/pull/24590>`__: CI: Exclude import libraries from list of DLLs on Cygwin.
* `#24591 <https://github.com/numpy/numpy/pull/24591>`__: BLD: fix ``_umath_linalg`` dependencies
* `#24594 <https://github.com/numpy/numpy/pull/24594>`__: MAINT: Stop testing on ppc64le.
* `#24602 <https://github.com/numpy/numpy/pull/24602>`__: BLD: meson-cpu: fix SIMD support on platforms with no features
* `#24606 <https://github.com/numpy/numpy/pull/24606>`__: BUG: Change Cython ``binding`` directive to "False".
* `#24613 <https://github.com/numpy/numpy/pull/24613>`__: ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including...
* `#24614 <https://github.com/numpy/numpy/pull/24614>`__: DOC: Update building docs to use Meson
* `#24615 <https://github.com/numpy/numpy/pull/24615>`__: TYP: Add the missing ``casting`` keyword to ``np.clip``
* `#24616 <https://github.com/numpy/numpy/pull/24616>`__: TST: convert cython test from setup.py to meson
* `#24617 <https://github.com/numpy/numpy/pull/24617>`__: MAINT: Fixup ``fromnumeric.pyi``
* `#24622 <https://github.com/numpy/numpy/pull/24622>`__: BUG, ENH: Fix ``iso_c_binding`` type maps and fix ``bind(c)``...
* `#24629 <https://github.com/numpy/numpy/pull/24629>`__: TYP: Allow ``binary_repr`` to accept any object implementing...
* `#24630 <https://github.com/numpy/numpy/pull/24630>`__: TYP: Explicitly declare ``dtype`` and ``generic`` hashable
* `#24637 <https://github.com/numpy/numpy/pull/24637>`__: ENH: Refactor the typing "reveal" tests using `typing.assert_type`
* `#24638 <https://github.com/numpy/numpy/pull/24638>`__: MAINT: Bump actions/checkout from 3.6.0 to 4.0.0
* `#24647 <https://github.com/numpy/numpy/pull/24647>`__: ENH: ``meson`` backend for ``f2py``
* `#24648 <https://github.com/numpy/numpy/pull/24648>`__: MAINT: Refactor partial load Workaround for Clang
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -17,7 +17,7 @@ requires = [

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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml.setuppy
Expand Up @@ -3,7 +3,7 @@
# to avoid building with Meson (e.g., in the Emscripten/Pyodide CI job)
[project]
name = "numpy"
version = "1.26.0b1"
version = "1.26.0rc1"

[build-system]
requires = [
Expand Down

0 comments on commit 436752e

Please sign in to comment.