8000 REL: Prepare for the NumPy 1.26.3 release by charris · Pull Request #25517 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

REL: Prepare for the NumPy 1.26.3 release #25517

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
Jan 2, 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
4 changes: 4 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ Allan Haldane <allan.haldane@gmail.com> <ealloc@gmail.com>
Al-Baraa El-Hag <a.elhag01@gmail.com> <48454648+a-elhag@users.noreply.github.com>
Alok Singhal <gandalf013@gmail.com> Alok Singhal <alok@merfinllc.com>
Alyssa Quek <alyssaquek@gmail.com>
Andrea Bianchi<andrea_bianchi@outlook.com>
Andrea Bianchi<andrea_bianchi@outlook.com> andrea-bia <andrea-bia@users.noreply.github.com>
Ankit Dwivedi <adwivedi@microsoft.com>
Ankit Dwivedi <adwivedi@microsoft.com> <ankit_dwivedi@outlook.com>
Amir Sarabadani <ladsgroup@gmail.com>
Expand Down Expand Up @@ -301,6 +303,8 @@ Jerome Kelleher <jerome.kelleher@ed.ac.uk>
Jessé Pires <jesserocha@alunos.utfpr.edu.br>
Jessi J Zhao <35235453+jessijzhao@users.noreply.github.com>
João Fontes Gonçalves <jfontesgoncalves@gmail.com>
Johann Rohwer <j.m.rohwer@gmail.com>
Johann Rohwer <j.m.rohwer@gmail.com> jmrohwer <jmrohwer@users.noreply.github.com>
Johnathon Cusick <jonathan.cusick09@gmail.com>
Jhong-Ken Chen (陳仲肯) <kenny.kuo.fs@gmail.com>
Jhong-Ken Chen (陳仲肯) <kenny.kuo.fs@gmail.com> <37182101+kennychenfs@users.noreply.github.com>
Expand Down
73 changes: 73 additions & 0 deletions doc/changelog/1.26.3-changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@

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

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

* @DWesl
* @Illviljan
* Alexander Grund
* Andrea Bianchi +
* Charles Harris
* Daniel Vanzo
* Johann Rohwer +
* Matti Picus
* Nathan Goldbaum
* Peter Hawkins
* Raghuveer Devulapalli
* Ralf Gommers
* Rohit Goswami
* Sayed Adel
* Sebastian Berg
* Stefano Rivera +
* Thomas A Caswell
* matoro

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

A total of 42 pull requests were merged for this release.

* `#25130 <https://github.com/numpy/numpy/pull/25130>`__: MAINT: prepare 1.26.x for further development
* `#25188 <https://github.com/numpy/numpy/pull/25188>`__: TYP: add None to ``__getitem__`` in ``numpy.array_api``
* `#25189 <https://github.com/numpy/numpy/pull/25189>`__: BLD,BUG: quadmath required where available [f2py]
* `#25190 <https://github.com/numpy/numpy/pull/25190>`__: BUG: alpha doesn't use REAL(10)
* `#25191 <https://github.com/numpy/numpy/pull/25191>`__: BUG: Fix FP overflow error in division when the divisor is scalar
* `#25192 <https://github.com/numpy/numpy/pull/25192>`__: MAINT: Pin scipy-openblas version.
* `#25201 <https://github.com/numpy/numpy/pull/25201>`__: BUG: Fix f2py to enable use of string optional inout argument
* `#25202 <https://github.com/numpy/numpy/pull/25202>`__: BUG: Fix -fsanitize=alignment issue in numpy/_core/src/multiarray/arraytypes.c.src
* `#25203 <https://github.com/numpy/numpy/pull/25203>`__: TST: Explicitly pass NumPy path to cython during tests (also...
* `#25204 <https://github.com/numpy/numpy/pull/25204>`__: BUG: fix issues with ``newaxis`` and ``linalg.solve`` in ``numpy.array_api``
* `#25205 <https://github.com/numpy/numpy/pull/25205>`__: BUG: Disallow shadowed modulenames
* `#25217 <https://github.com/numpy/numpy/pull/25217>`__: BUG: Handle common blocks with kind specifications from modules
* `#25218 <https://github.com/numpy/numpy/pull/25218>`__: BUG: Fix moving compiled executable to root with f2py -c on Windows
* `#25219 <https://github.com/numpy/numpy/pull/25219>`__: BUG: Fix single to half-precision conversion on PPC64/VSX3
* `#25227 <https://github.com/numpy/numpy/pull/25227>`__: TST: f2py: fix issue in test skip condition
* `#25240 <https://github.com/numpy/numpy/pull/25240>`__: Revert "MAINT: Pin scipy-openblas version."
* `#25249 <https://github.com/numpy/numpy/pull/25249>`__: MAINT: do not use ``long`` type
* `#25377 <https://github.com/numpy/numpy/pull/25377>`__: TST: PyPy needs another gc.collect on latest versions
* `#25378 <https://github.com/numpy/numpy/pull/25378>`__: CI: Install Lapack runtime on Cygwin.
* `#25379 <https://github.com/numpy/numpy/pull/25379>`__: MAINT: Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.1
* `#25380 <https://github.com/numpy/numpy/pull/25380>`__: BLD: update vendored Meson for AIX shared library fix
* `#25419 <https://github.com/numpy/numpy/pull/25419>`__: MAINT: Init ``base`` in cpu_avx512_kn
* `#25420 <https://github.com/numpy/numpy/pull/25420>`__: BUG: Fix failing test_features on SapphireRapids
* `#25422 <https://github.com/numpy/numpy/pull/25422>`__: BUG: Fix non-contiguous memory load when ARM/Neon is enabled
* `#25428 <https://github.com/numpy/numpy/pull/25428>`__: MAINT,BUG: Never import distutils above 3.12 [f2py]
* `#25452 <https://github.com/numpy/numpy/pull/25452>`__: MAINT: make the import-time check for old Accelerate more specific
* `#25458 <https://github.com/numpy/numpy/pull/25458>`__: BUG: fix macOS version checks for Accelerate support
* `#25465 <https://github.com/numpy/numpy/pull/25465>`__: MAINT: Bump actions/setup-node and larsoner/circleci-artifacts-redirector-action
* `#25466 <https://github.com/numpy/numpy/pull/25466>`__: BUG: avoid seg fault from OOB access in RandomState.set_state()
* `#25467 <https://github.com/numpy/numpy/pull/25467>`__: BUG: Fix two errors related to not checking for failed allocations
* `#25468 <https://github.com/numpy/numpy/pull/25468>`__: BUG: Fix regression with ``f2py`` wrappers when modules and subroutines...
* `#25475 <https://github.com/numpy/numpy/pull/25475>`__: BUG: Fix build issues on SPR
* `#25478 <https://github.com/numpy/numpy/pull/25478>`__: BLD: fix uninitialized variable warnings from simd/neon/memory.h
* `#25480 <https://github.com/numpy/numpy/pull/25480>`__: BUG: Handle ``iso_c_type`` mappings more consistently
* `#25481 <https://github.com/numpy/numpy/pull/25481>`__: BUG: Fix module name bug in signature files [urgent] [f2py]
* `#25482 <https://github.com/numpy/numpy/pull/25482>`__: BUG: Handle .pyf.src and fix SciPy [urgent]
* `#25483 <https://github.com/numpy/numpy/pull/25483>`__: DOC: ``f2py`` rewrite with ``meson`` details
* `#25485 <https://github.com/numpy/numpy/pull/25485>`__: BUG: Add external library handling for meson [f2py]
* `#25486 <https://github.com/numpy/numpy/pull/25486>`__: MAINT: Run f2py's meson backend with the same python that ran...
* `#25489 <https://github.com/numpy/numpy/pull/25489>`__: MAINT: Update ``numpy/f2py/_backends`` from main.
* `#25490 <https://github.com/numpy/numpy/pull/25490>`__: MAINT: Easy updates of ``f2py/*.py`` from main.
* `#25491 <https://github.com/numpy/numpy/pull/25491>`__: MAINT: Update crackfortran.py and f2py2e.py from main
88 changes: 85 additions & 3 deletions doc/source/release/1.26.3-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,97 @@ NumPy 1.26.3 Release Notes
==========================

NumPy 1.26.3 is a maintenance release that fixes bugs and regressions
discovered after the 1.26.2 release. The 1.26.release series is the last
planned minor release series before NumPy 2.0. The Python versions supported by
this release are 3.9-3.12.
discovered after the 1.26.2 release. The most notable changes are the f2py bug
fixes. The Python versions supported by this release are 3.9-3.12.


Compatibility
=============

``f2py`` will no longer accept ambiguous ``-m`` and ``.pyf`` CLI combinations.
When more than one ``.pyf`` file is passed, an error is raised. When both ``-m``
and a ``.pyf`` is passed, a warning is emitted and the ``-m`` provided name is
ignored.


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

``f2py`` now handles ``common`` blocks which have ``kind`` specifications from
modules. This further expands the usability of intrinsics like
``iso_fortran_env`` and ``iso_c_binding``.


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

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

* @DWesl
* @Illviljan
* Alexander Grund
* Andrea Bianchi +
* Charles Harris
* Daniel Vanzo
* Johann Rohwer +
* Matti Picus
* Nathan Goldbaum
* Peter Hawkins
* Raghuveer Devulapalli
* Ralf Gommers
* Rohit Goswami
* Sayed Adel
* Sebastian Berg
* Stefano Rivera +
* Thomas A Caswell
* matoro


Pull requests merged
====================
A total of 42 pull requests were merged for this release.

* `#25130 <https://github.com/numpy/numpy/pull/25130>`__: MAINT: prepare 1.26.x for further development
* `#25188 <https://github.com/numpy/numpy/pull/25188>`__: TYP: add None to ``__getitem__`` in ``numpy.array_api``
* `#25189 <https://github.com/numpy/numpy/pull/25189>`__: BLD,BUG: quadmath required where available [f2py]
* `#25190 <https://github.com/numpy/numpy/pull/25190>`__: BUG: alpha doesn't use REAL(10)
* `#25191 <https://github.com/numpy/numpy/pull/25191>`__: BUG: Fix FP overflow error in division when the divisor is scalar
* `#25192 <https://github.com/numpy/numpy/pull/25192>`__: MAINT: Pin scipy-openblas version.
* `#25201 <https://github.com/numpy/numpy/pull/25201>`__: BUG: Fix f2py to enable use of string optional inout argument
* `#25202 <https://github.com/numpy/numpy/pull/25202>`__: BUG: Fix -fsanitize=alignment issue in numpy/_core/src/multiarray/arraytypes.c.src
* `#25203 <https://github.com/numpy/numpy/pull/25203>`__: TST: Explicitly pass NumPy path to cython during tests (also...
* `#25204 <https://github.com/numpy/numpy/pull/25204>`__: BUG: fix issues with ``newaxis`` and ``linalg.solve`` in ``numpy.array_api``
* `#25205 <https://github.com/numpy/numpy/pull/25205>`__: BUG: Disallow shadowed modulenames
* `#25217 <https://github.com/numpy/numpy/pull/25217>`__: BUG: Handle common blocks with kind specifications from modules
* `#25218 <https://github.com/numpy/numpy/pull/25218>`__: BUG: Fix moving compiled executable to root with f2py -c on Windows
* `#25219 <https://github.com/numpy/numpy/pull/25219>`__: BUG: Fix single to half-precision conversion on PPC64/VSX3
* `#25227 <https://github.com/numpy/numpy/pull/25227>`__: TST: f2py: fix issue in test skip condition
* `#25240 <https://github.com/numpy/numpy/pull/25240>`__: Revert "MAINT: Pin scipy-openblas version."
* `#25249 <https://github.com/numpy/numpy/pull/25249>`__: MAINT: do not use ``long`` type
* `#25377 <https://github.com/numpy/numpy/pull/25377>`__: TST: PyPy needs another gc.collect on latest versions
* `#25378 <https://github.com/numpy/numpy/pull/25378>`__: CI: Install Lapack runtime on Cygwin.
* `#25379 <https://github.com/numpy/numpy/pull/25379>`__: MAINT: Bump conda-incubator/setup-miniconda from 2.2.0 to 3.0.1
* `#25380 <https://github.com/numpy/numpy/pull/25380>`__: BLD: update vendored Meson for AIX shared library fix
* `#25419 <https://github.com/numpy/numpy/pull/25419>`__: MAINT: Init ``base`` in cpu_avx512_kn
* `#25420 <https://github.com/numpy/numpy/pull/25420>`__: BUG: Fix failing test_features on SapphireRapids
* `#25422 <https://github.com/numpy/numpy/pull/25422>`__: BUG: Fix non-contiguous memory load when ARM/Neon is enabled
* `#25428 <https://github.com/numpy/numpy/pull/25428>`__: MAINT,BUG: Never import distutils above 3.12 [f2py]
* `#25452 <https://github.com/numpy/numpy/pull/25452>`__: MAINT: make the import-time check for old Accelerate more specific
* `#25458 <https://github.com/numpy/numpy/pull/25458>`__: BUG: fix macOS version checks for Accelerate support
* `#25465 <https://github.com/numpy/numpy/pull/25465>`__: MAINT: Bump actions/setup-node and larsoner/circleci-artifacts-redirector-action
* `#25466 <https://github.com/numpy/numpy/pull/25466>`__: BUG: avoid seg fault from OOB access in RandomState.set_state()
* `#25467 <https://github.com/numpy/numpy/pull/25467>`__: BUG: Fix two errors related to not checking for failed allocations
* `#25468 <https://github.com/numpy/numpy/pull/25468>`__: BUG: Fix regression with ``f2py`` wrappers when modules and subroutines...
* `#25475 <https://github.com/numpy/numpy/pull/25475>`__: BUG: Fix build issues on SPR
* `#25478 <https://github.com/numpy/numpy/pull/25478>`__: BLD: fix uninitialized variable warnings from simd/neon/memory.h
* `#25480 <https://github.com/numpy/numpy/pull/25480>`__: BUG: Handle ``iso_c_type`` mappings more consistently
* `#25481 <https://github.com/numpy/numpy/pull/25481>`__: BUG: Fix module name bug in signature files [urgent] [f2py]
* `#25482 <https://github.com/numpy/numpy/pull/25482>`__: BUG: Handle .pyf.src and fix SciPy [urgent]
* `#25483 <https://github.com/numpy/numpy/pull/25483>`__: DOC: ``f2py`` rewrite with ``meson`` details
* `#25485 <https://github.com/numpy/numpy/pull/25485>`__: BUG: Add external library handling for meson [f2py]
* `#25486 <https://github.com/numpy/numpy/pull/25486>`__: MAINT: Run f2py's meson backend with the same python that ran...
* `#25489 <https://github.com/numpy/numpy/pull/25489>`__: MAINT: Update ``numpy/f2py/_backends`` from main.
* `#25490 <https://github.com/numpy/numpy/pull/25490>`__: MAINT: Easy updates of ``f2py/*.py`` from main.
* `#25491 <https://github.com/numpy/numpy/pull/25491>`__: MAINT: Update crackfortran.py and f2py2e.py from main

3 changes: 3 additions & 0 deletions numpy/tests/test_warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pytest

from pathlib import Path
import sys
import ast
import tokenize
import numpy
Expand Down Expand Up @@ -56,6 +57,8 @@ def visit_Call(self, node):


@pytest.mark.slow
@pytest.mark.skipif(sys.version_info >= (3, 12),
reason="Deprecation warning in ast")
def test_warning_calls():
# combined "ignore" and stacklevel error
base = Path(numpy.__file__).parent
Expand Down
0