10000 Merge pull request #24296 from charris/prepare-1.25.2-release · rbavery/numpy@ea67792 · GitHub
[go: up one dir, main page]

Skip to content

Commit ea67792

Browse files
authored
Merge pull request numpy#24296 from charris/prepare-1.25.2-release
REL: Prepare for the NumPy 1.25.2 release.
2 parents 9941dfe + 47793ab commit ea67792

File tree

3 files changed

+96
-4
lines changed

3 files changed

+96
-4
lines changed

doc/changelog/1.25.2-changelog.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
Contributors
3+
============
4+
5+
A total of 13 people contributed to this release. People with a "+" by their
6+
names contributed a patch for the first time.
7+
8+
* Aaron Meurer
9+
* Andrew Nelson
10+
* Charles Harris
11+
* Kevin Sheppard
12+
* Matti Picus
13+
* Nathan Goldbaum
14+
* Peter Hawkins
15+
* Ralf Gommers
16+
* Randy Eckenrode +
17+
* Sam James +
18+
* Sebastian Berg
19+
* Tyler Reddy
20+
* dependabot[bot]
21+
22+
Pull requests merged
23+
====================
24+
25+
A total of 19 pull requests were merged for this release.
26+
27+
* `#24148 <https://github.com/numpy/numpy/pull/24148>`__: MAINT: prepare 1.25.x for further development
28+
* `#24174 <https://github.com/numpy/numpy/pull/24174>`__: ENH: Improve clang-cl compliance
29+
* `#24179 <https://github.com/numpy/numpy/pull/24179>`__: MAINT: Upgrade various build dependencies.
30+
* `#24182 <https://github.com/numpy/numpy/pull/24182>`__: BLD: use ``-ftrapping-math`` with Clang on macOS
31+
* `#24183 <https://github.com/numpy/numpy/pull/24183>`__: BUG: properly handle negative indexes in ufunc_at fast path
32+
* `#24184 <https://github.com/numpy/numpy/pull/24184>`__: BUG: PyObject_IsTrue and PyObject_Not error handling in setflags
33+
* `#24185 <https://github.com/numpy/numpy/pull/24185>`__: BUG: histogram small range robust
34+
* `#24186 <https://github.com/numpy/numpy/pull/24186>`__: MAINT: Update meson.build files from main branch
35+
* `#24234 <https://github.com/numpy/numpy/pull/24234>`__: MAINT: exclude min, max and round from ``np.__all__``
36+
* `#24241 <https://github.com/numpy/numpy/pull/24241>`__: MAINT: Dependabot updates
37+
* `#24242 <https://github.com/numpy/numpy/pull/24242>`__: BUG: Fix the signature for np.array_api.take
38+
* `#24243 <https://github.com/numpy/numpy/pull/24243>`__: BLD: update OpenBLAS to an intermeidate commit
39+
* `#24244 <https://github.com/numpy/numpy/pull/24244>`__: BUG: Fix reference count leak in str(scalar).
40+
* `#24245 <https://github.com/numpy/numpy/pull/24245>`__: BUG: fix invalid function pointer conversion error
41+
* `#24255 <https://github.com/numpy/numpy/pull/24255>`__: BUG: Factor out slow ``getenv`` call used for memory policy warning
42+
* `#24292 <https://github.com/numpy/numpy/pull/24292>`__: CI: correct URL in cirrus.star [skip cirrus]
43+
* `#24293 <https://github.com/numpy/numpy/pull/24293>`__: BUG: Fix C types in scalartypes
44+
* `#24294 <https://github.com/numpy/numpy/pull/24294>`__: BUG: do not modify the input to ufunc_at
45+
* `#24295 <https://github.com/numpy/numpy/pull/24295>`__: BUG: Further fixes to indexing loop and added tests

doc/source/release/1.25.2-notes.rst

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,54 @@
33
==========================
44
NumPy 1.25.2 Release Notes
55
==========================
6-
NumPy 1.25.2 is a maintenance release that fixes bugs and regressions discovered after the
7-
1.25.1 release. The Python versions supported by this release are 3.9-3.11.
6+
NumPy 1.25.2 is a maintenance release that fixes bugs and regressions
7+
discovered after the 1.25.1 release. This is the last planned release in the
8+
1.25.x series, the next release will be 1.26.0, which will use the meson build
9+
system and support Python 3.12. The Python versions supported by this release
10+
are 3.9-3.11.
811

912
Contributors
1013
============
1114

15+
A total of 13 people contributed to this release. People with a "+" by their
16+
names contributed a patch for the first time.
17+
18+
* Aaron Meurer
19+
* Andrew Nelson
20+
* Charles Harris
21+
* Kevin Sheppard
22+
* Matti Picus
23+
* Nathan Goldbaum
24+
* Peter Hawkins
25+
* Ralf Gommers
26+
* Randy Eckenrode +
27+
* Sam James +
28+
* Sebastian Berg
29+
* Tyler Reddy
30+
* dependabot[bot]
31+
1232
Pull requests merged
1333
====================
1434

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

numpy/core/setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,13 @@ def can_link_svml_fp16():
8383
"""SVML FP16 requires binutils >= 2.38 for an updated assembler
8484
"""
8585
if can_link_svml():
86-
binutils_ver = os.popen("ld -v").readlines()[0].strip()[-4:]
87-
return float(binutils_ver) >= 2.38
86+
import re
87+
binutils_ver = os.popen("ld -v").readlines()[0].strip()
88+
binutils_ver = re.search(r"\d\.\d\d", binutils_ver)
89+
if binutils_ver is not None:
90+
return float(binutils_ver.group()) >= 2.38
91+
else:
92+
return False
8893

8994
def check_git_submodules():
9095
out = os.popen("git submodule status")

0 commit comments

Comments
 (0)
0