Skip to content

Commit

Permalink
Merge pull request #24296 from charris/prepare-1.25.2-release
Browse files Browse the repository at this point in the history
REL: Prepare for the NumPy 1.25.2 release.
  • Loading branch information
charris committed Jul 31, 2023
2 parents 9941dfe + 47793ab commit ea67792
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 4 deletions.
45 changes: 45 additions & 0 deletions doc/changelog/1.25.2-changelog.rst
@@ -0,0 +1,45 @@

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

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

* Aaron Meurer
* Andrew Nelson
* Charles Harris
* Kevin Sheppard
* Matti Picus
* Nathan Goldbaum
* Peter Hawkins
* Ralf Gommers
* Randy Eckenrode +
* Sam James +
* Sebastian Berg
* Tyler Reddy
* dependabot[bot]

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

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

* `#24148 <https://github.com/numpy/numpy/pull/24148>`__: MAINT: prepare 1.25.x for further development
* `#24174 <https://github.com/numpy/numpy/pull/24174>`__: ENH: Improve clang-cl compliance
* `#24179 <https://github.com/numpy/numpy/pull/24179>`__: MAINT: Upgrade various build dependencies.
* `#24182 <https://github.com/numpy/numpy/pull/24182>`__: BLD: use ``-ftrapping-math`` with Clang on macOS
* `#24183 <https://github.com/numpy/numpy/pull/24183>`__: BUG: properly handle negative indexes in ufunc_at fast path
* `#24184 <https://github.com/numpy/numpy/pull/24184>`__: BUG: PyObject_IsTrue and PyObject_Not error handling in setflags
* `#24185 <https://github.com/numpy/numpy/pull/24185>`__: BUG: histogram small range robust
* `#24186 <https://github.com/numpy/numpy/pull/24186>`__: MAINT: Update meson.build files from main branch
* `#24234 <https://github.com/numpy/numpy/pull/24234>`__: MAINT: exclude min, max and round from ``np.__all__``
* `#24241 <https://github.com/numpy/numpy/pull/24241>`__: MAINT: Dependabot updates
* `#24242 <https://github.com/numpy/numpy/pull/24242>`__: BUG: Fix the signature for np.array_api.take
* `#24243 <https://github.com/numpy/numpy/pull/24243>`__: BLD: update OpenBLAS to an intermeidate commit
* `#24244 <https://github.com/numpy/numpy/pull/24244>`__: BUG: Fix reference count leak in str(scalar).
* `#24245 <https://github.com/numpy/numpy/pull/24245>`__: BUG: fix invalid function pointer conversion error
* `#24255 <https://github.com/numpy/numpy/pull/24255>`__: BUG: Factor out slow ``getenv`` call used for memory policy warning
* `#24292 <https://github.com/numpy/numpy/pull/24292>`__: CI: correct URL in cirrus.star [skip cirrus]
* `#24293 <https://github.com/numpy/numpy/pull/24293>`__: BUG: Fix C types in scalartypes
* `#24294 <https://github.com/numpy/numpy/pull/24294>`__: BUG: do not modify the input to ufunc_at
* `#24295 <https://github.com/numpy/numpy/pull/24295>`__: BUG: Further fixes to indexing loop and added tests
46 changes: 44 additions & 2 deletions doc/source/release/1.25.2-notes.rst
Expand Up @@ -3,12 +3,54 @@
==========================
NumPy 1.25.2 Release Notes
==========================
NumPy 1.25.2 is a maintenance release that fixes bugs and regressions discovered after the
1.25.1 release. The Python versions supported by this release are 3.9-3.11.
NumPy 1.25.2 is a maintenance release that fixes bugs and regressions
discovered after the 1.25.1 release. This is the last planned release in the
1.25.x series, the next release will be 1.26.0, which will use the meson build
system and support Python 3.12. The Python versions supported by this release
are 3.9-3.11.

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

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

* Aaron Meurer
* Andrew Nelson
* Charles Harris
* Kevin Sheppard
* Matti Picus
* Nathan Goldbaum
* Peter Hawkins
* Ralf Gommers
* Randy Eckenrode +
* Sam James +
* Sebastian Berg
* Tyler Reddy
* dependabot[bot]

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

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

* `#24148 <https://github.com/numpy/numpy/pull/24148>`__: MAINT: prepare 1.25.x for further development
* `#24174 <https://github.com/numpy/numpy/pull/24174>`__: ENH: Improve clang-cl compliance
* `#24179 <https://github.com/numpy/numpy/pull/24179>`__: MAINT: Upgrade various build dependencies.
* `#24182 <https://github.com/numpy/numpy/pull/24182>`__: BLD: use ``-ftrapping-math`` with Clang on macOS
* `#24183 <https://github.com/numpy/numpy/pull/24183>`__: BUG: properly handle negative indexes in ufunc_at fast path
* `#24184 <https://github.com/numpy/numpy/pull/24184>`__: BUG: PyObject_IsTrue and PyObject_Not error handling in setflags
* `#24185 <https://github.com/numpy/numpy/pull/24185>`__: BUG: histogram small range robust
* `#24186 <https://github.com/numpy/numpy/pull/24186>`__: MAINT: Update meson.build files from main branch
* `#24234 <https://github.com/numpy/numpy/pull/24234>`__: MAINT: exclude min, max and round from ``np.__all__``
* `#24241 <https://github.com/numpy/numpy/pull/24241>`__: MAINT: Dependabot updates
* `#24242 <https://github.com/numpy/numpy/pull/24242>`__: BUG: Fix the signature for np.array_api.take
* `#24243 <https://github.com/numpy/numpy/pull/24243>`__: BLD: update OpenBLAS to an intermeidate commit
* `#24244 <https://github.com/numpy/numpy/pull/24244>`__: BUG: Fix reference count leak in str(scalar).
* `#24245 <https://github.com/numpy/numpy/pull/24245>`__: BUG: fix invalid function pointer conversion error
* `#24255 <https://github.com/numpy/numpy/pull/24255>`__: BUG: Factor out slow ``getenv`` call used for memory policy warning
* `#24292 <https://github.com/numpy/numpy/pull/24292>`__: CI: correct URL in cirrus.star [skip cirrus]
* `#24293 <https://github.com/numpy/numpy/pull/24293>`__: BUG: Fix C types in scalartypes
* `#24294 <https://github.com/numpy/numpy/pull/24294>`__: BUG: do not modify the input to ufunc_at
* `#24295 <https://github.com/numpy/numpy/pull/24295>`__: BUG: Further fixes to indexing loop and added tests

9 changes: 7 additions & 2 deletions numpy/core/setup.py
Expand Up @@ -83,8 +83,13 @@ def can_link_svml_fp16():
"""SVML FP16 requires binutils >= 2.38 for an updated assembler
"""
if can_link_svml():
binutils_ver = os.popen("ld -v").readlines()[0].strip()[-4:]
return float(binutils_ver) >= 2.38
import re
binutils_ver = os.popen("ld -v").readlines()[0].strip()
binutils_ver = re.search(r"\d\.\d\d", binutils_ver)
if binutils_ver is not None:
return float(binutils_ver.group()) >= 2.38
else:
return False

def check_git_submodules():
out = os.popen("git submodule status")
Expand Down

0 comments on commit ea67792

Please sign in to comment.