Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2021-12-09 19:45:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Thu Dec 9 19:45:10 2021 rev:107 rq:935927 version:1.21.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2021-11-21 23:52:09.614257163 +0100 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.2520/python-numpy.changes 2021-12-09 19:45:21.477125996 +0100 @@ -1,0 +2,30 @@ +Sun Dec 5 07:26:13 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Fix abbreviated references + +------------------------------------------------------------------- +Fri Dec 3 10:54:01 UTC 2021 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to 1.21.4: + * #20278: BUG: Fix shadowed reference of dtype in type stub + * #20293: BUG: Fix headers for universal2 builds + * #20294: BUG: VOID_nonzero could sometimes mutate alignment flag + * #20295: BUG: Do not use nonzero fastpath on unaligned arrays + * #20296: BUG: Distutils patch to allow for 2 as a minor version (!) + * #20297: BUG, SIMD: Fix 64-bit/8-bit integer division by a scalar + * #20298: BUG, SIMD: Workaround broadcasting SIMD 64-bit integers on MSVC... + * #20300: REL: Prepare for the NumPy 1.21.4 release. + * #20302: TST: Fix a Arrayterator typing test failure +- Release to 1.21.3: + * #19745: ENH: Add dtype-support to 3 `generic/ndarray methods + * #19955: BUG: Resolve Divide by Zero on Apple silicon + test failures... + * #19958: MAINT: Mark type-check-only ufunc subclasses as ufunc aliases... + * #19994: BUG: np.tan(np.inf) test failure + * #20080: BUG: Correct incorrect advance in PCG with emulated int128 + * #20081: BUG: Fix NaT handling in the PyArray_CompareFunc for datetime... + * #20082: DOC: Ensure that we add documentation also as to the dict for... + * #20106: BUG: core: result_type(0, np.timedelta64(4)) would seg. fault. +- Add patch to fix aarch64 support: + * numpy-fix-cpu_asimdfhm.patch + +------------------------------------------------------------------- Old: ---- numpy-1.21.2.zip New: ---- numpy-1.21.4.zip numpy-fix-cpu_asimdfhm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.oiQRT5/_old 2021-12-09 19:45:22.293126389 +0100 +++ /var/tmp/diff_new_pack.oiQRT5/_new 2021-12-09 19:45:22.297126391 +0100 @@ -24,8 +24,8 @@ %endif %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.21.2 -%define _ver 1_21_2 +%define ver 1.21.4 +%define _ver 1_21_4 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" @@ -84,8 +84,10 @@ Patch0: numpy-buildfix.patch # PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure Patch1: numpy-1.9.0-remove-__declspec.patch -# PATCH-FIX-UPSTREAM -- gh#numpy/numpy/commit/8871c7285fc097fd1bf713aa184cba7e2804f625 +# PATCH-FIX-UPSTREAM -- gh#numpy/numpy#20347 Patch2: bpo-45167-fixes.patch +# PATCH-FIX-UPSTREAM -- gh#numpy/numpy#20388 +Patch3: numpy-fix-cpu_asimdfhm.patch BuildConflicts: gcc11 < 11.2 BuildRequires: %{python_module Cython >= 0.29.24} BuildRequires: %{python_module base >= 3.7} @@ -178,7 +180,7 @@ sed -i '1s/^#!.*$//' numpy/random/_examples/cython/*.pyx # force cythonization -rm PKG-INFO +rm -f PKG-INFO %build %define _lto_cflags %{nil} ++++++ numpy-fix-cpu_asimdfhm.patch ++++++ >From 2113cad8cbb4c4bc9469e0c94025bd7cbbe6f2d6 Mon Sep 17 00:00:00 2001 From: Thomas Green <tomgree...@hotmail.com> Date: Tue, 16 Nov 2021 22:36:18 +0000 Subject: [PATCH] Update cpu_asimdfhm.c Updated `vfmlal_low_u32` and `vfmlslq_high_u32` to their `f16` new names. Described here: https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg664008.html Many of the intrinsics had names updated. Supposedly previous specifications were not published so old names not required. --- numpy/distutils/checks/cpu_asimdfhm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numpy/distutils/checks/cpu_asimdfhm.c b/numpy/distutils/checks/cpu_asimdfhm.c index bb437aa4035..cb49751c4c2 100644 --- a/numpy/distutils/checks/cpu_asimdfhm.c +++ b/numpy/distutils/checks/cpu_asimdfhm.c @@ -10,8 +10,8 @@ int main(void) float32x4_t vf = vdupq_n_f32(1.0f); float32x2_t vlf = vdup_n_f32(1.0f); - int ret = (int)vget_lane_f32(vfmlal_low_u32(vlf, vlhp, vlhp), 0); - ret += (int)vgetq_lane_f32(vfmlslq_high_u32(vf, vhp, vhp), 0); + int ret = (int)vget_lane_f32(vfmlal_low_f16(vlf, vlhp, vlhp), 0); + ret += (int)vgetq_lane_f32(vfmlslq_high_f16(vf, vhp, vhp), 0); return ret; }