From 4b830e648fb4df13bb27b67dcde02a2b9feabf95677fba7be4722c60448e451b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Oct 2022 07:22:04 +0000 Subject: [PATCH 1/3] Accepting request 1009180 from home:apersaud:branches:devel:languages:python:numeric update to latest version OBS-URL: https://build.opensuse.org/request/show/1009180 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=107 --- numpy-1.21.6.zip | 3 - numpy-1.23.3.tar.gz | 3 + numpy-1.9.0-remove-__declspec.patch | 2 +- numpy-fix-cpu_asimdfhm.patch | 29 ----- python-numpy.changes | 173 ++++++++++++++++++++++++++++ python-numpy.spec | 91 +++++++-------- 6 files changed, 221 insertions(+), 80 deletions(-) delete mode 100644 numpy-1.21.6.zip create mode 100644 numpy-1.23.3.tar.gz delete mode 100644 numpy-fix-cpu_asimdfhm.patch diff --git a/numpy-1.21.6.zip b/numpy-1.21.6.zip deleted file mode 100644 index 675a887..0000000 --- a/numpy-1.21.6.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecb55251139706669fdec2ff073c98ef8e9a84473e51e716211b41aa0f18e656 -size 10274544 diff --git a/numpy-1.23.3.tar.gz b/numpy-1.23.3.tar.gz new file mode 100644 index 0000000..409f2d0 --- /dev/null +++ b/numpy-1.23.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd +size 10726039 diff --git a/numpy-1.9.0-remove-__declspec.patch b/numpy-1.9.0-remove-__declspec.patch index b1c27a7..5e29e56 100644 --- a/numpy-1.9.0-remove-__declspec.patch +++ b/numpy-1.9.0-remove-__declspec.patch @@ -15,7 +15,7 @@ safely removed. --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py -@@ -186,7 +186,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr +@@ -226,7 +226,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr ] # variable attributes tested via "int %s a" % attribute diff --git a/numpy-fix-cpu_asimdfhm.patch b/numpy-fix-cpu_asimdfhm.patch deleted file mode 100644 index 13f19b3..0000000 --- a/numpy-fix-cpu_asimdfhm.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 2113cad8cbb4c4bc9469e0c94025bd7cbbe6f2d6 Mon Sep 17 00:00:00 2001 -From: Thomas Green -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; - } diff --git a/python-numpy.changes b/python-numpy.changes index a9720c9..0c7103a 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,176 @@ +------------------------------------------------------------------- +Fri Sep 30 23:43:53 UTC 2022 - Arun Persaud + +- specfile: + * remove patch numpy-fix-cpu_asimdfhm.patch, included upstream + * update line numbers for other patches + * require c++ compiler + +- update to version 1.23.3: + * #22136: BLD: Add Python 3.11 wheels to aarch64 build + * #22148: MAINT: Update setup.py for Python 3.11. + * #22155: CI: Test NumPy build against old versions of GCC(6, 7, 8) + * #22156: MAINT: support IBM i system + * #22195: BUG: Fix circleci build + * #22214: BUG: Expose heapsort algorithms in a shared header + * #22215: BUG: Support using libunwind for backtrack + * #22216: MAINT: fix an incorrect pointer type usage in f2py + * #22220: BUG: change overloads to play nice with pyright. + * #22221: TST,BUG: Use fork context to fix MacOS savez test + * #22222: TYP,BUG: Reduce argument validation in C-based + __class_getitem__ + * #22223: TST: ensure np.equal.reduce raises a TypeError + * #22224: BUG: Fix the implementation of numpy.array_api.vecdot + * #22230: BUG: Better report integer division overflow (backport) + +- changes from version 1.23.2: + * #22030: ENH: Add __array_ufunc__ typing support to the nin=1 + ufuncs + * #22031: MAINT, TYP: Fix np.angle dtype-overloads + * #22032: MAINT: Do not let _GenericAlias wrap the underlying + classes'... + * #22033: TYP,MAINT: Allow einsum subscripts to be passed via + integer... + * #22034: MAINT,TYP: Add object-overloads for the np.generic rich + comparisons + * #22035: MAINT,TYP: Allow the squeeze and transpose method to... + * #22036: BUG: Fix subarray to object cast ownership details + * #22037: BUG: Use Popen to silently invoke f77 -v + * #22038: BUG: Avoid errors on NULL during deepcopy + * #22039: DOC: Add versionchanged for converter callable behavior. + * #22057: MAINT: Quiet the anaconda uploads. + * #22078: ENH: reorder includes for testing on top of system + installations... + * #22106: TST: fix test_linear_interpolation_formula_symmetric + * #22107: BUG: Fix skip condition for + test_loss_of_precision[complex256] + * #22115: BLD: Build python3.11.0rc1 wheels. + +- changes from version 1.23.1: + * #21866: BUG: Fix discovered MachAr (still used within valgrind) + * #21867: BUG: Handle NaNs correctly for float16 during sorting + * #21868: BUG: Use keepdims during normalization in np.average + and... + * #21869: DOC: mention changes to max_rows behaviour in np.loadtxt + * #21870: BUG: Reject non integer array-likes with size 1 in delete + * #21949: BLD: Make can_link_svml return False for 32bit builds on + x86_64 + * #21951: BUG: Reorder extern "C" to only apply to function + declarations... + * #21952: BUG: Fix KeyError in crackfortran operator support + +- changes from version 1.23.0: + * long changelog + https://github.com/numpy/numpy/blob/main/doc/changelog/1.23.0-changelog.rst + +- changes from version 1.22.4: + * #21191: TYP, BUG: Fix np.lib.stride_tricks re-exported under + the... + * #21192: TST: Bump mypy from 0.931 to 0.940 + * #21243: MAINT: Explicitly re-export the types in numpy._typing + * #21245: MAINT: Specify sphinx, numpydoc versions for CI doc builds + * #21275: BUG: Fix typos + * #21277: ENH, BLD: Fix math feature detection for wasm + * #21350: MAINT: Fix failing simd and cygwin tests. + * #21438: MAINT: Fix failing Python 3.8 32-bit Windows test. + * #21444: BUG: add linux guard per #21386 + * #21445: BUG: Allow legacy dtypes to cast to datetime again + * #21446: BUG: Make mmap handling safer in frombuffer + * #21447: BUG: Stop using PyBytesObject.ob_shash deprecated in + Python 3.11. + * #21448: ENH: Introduce numpy.core.setup_common.NPY_CXX_FLAGS + * #21472: BUG: Ensure compile errors are raised correclty + * #21473: BUG: Fix segmentation fault + * #21474: MAINT: Update doc requirements + * #21475: MAINT: Mark npy_memchr with no_sanitize("alignment") on + clang + * #21512: DOC: Proposal - make the doc landing page cards more + similar... + * #21525: MAINT: Update Cython version to 0.29.30. + * #21536: BUG: Fix GCC error during build configuration + * #21541: REL: Prepare for the NumPy 1.22.4 release. + * #21547: MAINT: Skip tests that fail on PyPy. + +- changes from version 1.22.3: + * #21048: MAINT: Use "3.10" instead of "3.10-dev" on travis. + * #21106: TYP,MAINT: Explicitly allow sequences of array-likes in + np.concatenate + * #21137: BLD,DOC: skip broken ipython 8.1.0 + * #21138: BUG, ENH: np._from_dlpack: export correct device + information + * #21139: BUG: Fix numba DUFuncs added loops getting picked up + * #21140: BUG: Fix unpickling an empty ndarray with a non-zero + dimension... + * #21141: BUG: use ThreadPoolExecutor instead of ThreadPool + * #21142: API: Disallow strings in logical ufuncs + * #21143: MAINT, DOC: Fix SciPy intersphinx link + * #21148: BUG,ENH: np._from_dlpack: export arrays with any strided + size-1... + +- changes from version 1.22.2: + * #20842: BLD: Add NPY_DISABLE_SVML env var to opt out of SVML + * #20843: BUG: Fix build of third party extensions with + Py_LIMITED_API + * #20844: TYP: Fix pyright being unable to infer the real and + imag... + * #20845: BUG: Fix comparator function signatures + * #20906: BUG: Avoid importing numpy.distutils on import + numpy.testing + * #20907: MAINT: remove outdated mingw32 fseek support + * #20908: TYP: Relax the return type of np.vectorize + * #20909: BUG: fix f2py's define for threading when building with + Mingw + * #20910: BUG: distutils: fix building mixed C/Fortran extensions + * #20912: DOC,TST: Fix Pandas code example as per new release + * #20935: TYP, MAINT: Add annotations for flatiter.__setitem__ + * #20936: MAINT, TYP: Added missing where typehints in + fromnumeric.pyi + * #20937: BUG: Fix build_ext interaction with non numpy extensions + * #20938: BUG: Fix missing intrinsics for windows/arm64 target + * #20945: REL: Prepare for the NumPy 1.22.2 release. + * #20982: MAINT: f2py: don't generate code that triggers + -Wsometimes-uninitialized. + * #20983: BUG: Fix incorrect return type in reduce without initial + value + * #20984: ENH: review return values for PyArray_DescrNew + * #20985: MAINT: be more tolerant of setuptools >= 60 + * #20986: BUG: Fix misplaced return. + * #20992: MAINT: Further small return value validation fixes + +- changes from version 1.22.1: + * #20702: MAINT, DOC: Post 1.22.0 release fixes. + * #20703: DOC, BUG: Use pngs instead of svgs. + * #20704: DOC:Fixed the link on user-guide landing page + * #20714: BUG: Restore vc141 support + * #20724: BUG: Fix array dimensions solver for multidimensional + arguments... + * #20725: TYP: change type annotation for __array_namespace__ to + ModuleType + * #20726: TYP, MAINT: Allow ndindex to accept integer tuples + * #20757: BUG: Relax dtype identity check in reductions + * #20763: TYP: Allow time manipulation functions to accept date and + timedelta... + * #20768: TYP: Relax the type of ndarray.__array_finalize__ + * #20795: MAINT: Raise RuntimeError if setuptools version is too + recent. + * #20796: BUG, DOC: Fixes SciPy docs build warnings + * #20797: DOC: fix OpenBLAS version in release note + * #20798: PERF: Optimize array check for bounded 0,1 values + * #20805: BUG: Fix that reduce-likes honor out always (and live in + the... + * #20806: BUG: array_api.argsort(descending=True) respects + relative... + * #20807: BUG: Allow integer inputs for pow-related functions in + array_api + * #20814: DOC: Refer to NumPy, not pandas, in main page + * #20815: DOC: Update Copyright to 2022 [License] + * #20819: BUG: Return correctly shaped inverse indices in array_api + set... + +- changes from version 1.22.0: + * long list of changes + https://github.com/numpy/numpy/blob/main/doc/changelog/1.22.0-changelog.rst + ------------------------------------------------------------------- Sun May 29 18:15:47 UTC 2022 - Dirk Müller diff --git a/python-numpy.spec b/python-numpy.spec index d500496..fa2249f 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -16,16 +16,9 @@ # -# -%if 0%{?suse_version} > 1500 -%bcond_without libalternatives -%else -%bcond_with libalternatives -%endif - %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.21.6 -%define _ver 1_21_6 +%define ver 1.23.3 +%define _ver 1_23_3 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" @@ -39,9 +32,6 @@ %define c_f_ver 7 %bcond_without hpc %endif -%if %{with hpc} - %bcond_without openblas -%endif %if 0%{?sle_version} == 120300 %{?with_openblas:ExclusiveArch: do_not_build} %endif @@ -52,7 +42,16 @@ %define skip_python2 1 %define skip_python36 1 %{?with_hpc:%{hpc_requires}} +# +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %bcond_with ringdisabled +%if %{with hpc} + %bcond_without openblas +%endif %if %{without hpc} %define package_name %{pname} %define p_python_sitearch %{python_sitearch} @@ -71,43 +70,18 @@ ExclusiveArch: do_not_build %endif %endif -Name: %{package_name} -# set %%ver and %%_ver instead above -Version: %ver -Release: 0 -Summary: NumPy array processing for numbers, strings, records and objects -License: BSD-3-Clause -URL: http://www.numpy.org/ -Source: https://files.pythonhosted.org/packages/source/n/numpy/numpy-%{version}.zip -Source99: python-numpy-rpmlintrc -# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes -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#20388 -Patch3: numpy-fix-cpu_asimdfhm.patch -BuildConflicts: gcc11 < 11.2 -BuildRequires: %{python_module Cython >= 0.29.24} -BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module hypothesis >= 6.12.0} -BuildRequires: %{python_module pytest >= 6.2.4} -BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module testsuite} -BuildRequires: python-rpm-macros >= 20210929 -BuildRequires: unzip -%if 0%{?suse_version} -BuildRequires: fdupes -%endif %if %{without hpc} +# Last version which packaged %%{_bindir}/f2py without update-alternatives +# Protect it from substitution +%define oldpy_numpy python-numpy +Conflicts: %{oldpy_numpy} <= 1.12.0 %if 0%{?suse_version} BuildRequires: gcc-fortran %else BuildRequires: gcc-gfortran %endif %if %{with openblas} -BuildRequires: openblas-devel > 0.3.4 +BuildRequires: openblas-devel > 0.3.20 %else BuildRequires: blas-devel BuildRequires: cblas-devel @@ -115,10 +89,6 @@ BuildRequires: lapack-devel # openblas has significantly better performance for some operations Recommends: libopenblas_pthreads0 %endif -# Last version which packaged %%{_bindir}/f2py without update-alternatives -# Protect it from substitution -%define oldpy_numpy python-numpy -Conflicts: %{oldpy_numpy} <= 1.12.0 %if %{with libalternatives} BuildRequires: alts Requires: alts @@ -133,6 +103,33 @@ BuildRequires: lua-lmod BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc %endif +Name: %{package_name} +# set %%ver and %%_ver instead above +Version: %{ver} +Release: 0 +Summary: NumPy array processing for numbers, strings, records and objects +License: BSD-3-Clause +URL: http://www.numpy.org/ +Source: https://files.pythonhosted.org/packages/source/n/numpy/numpy-%{version}.tar.gz +Source99: python-numpy-rpmlintrc +# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes +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 +BuildRequires: %{python_module Cython >= 0.29.30} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module hypothesis >= 6.24.1} +BuildRequires: %{python_module pytest >= 6.2.5} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module setuptools >= 60.0.0} +BuildRequires: %{python_module testsuite} +BuildRequires: gcc-c++ +BuildRequires: python-rpm-macros >= 20210929 +BuildConflicts: gcc11 < 11.2 +%if 0%{?suse_version} +BuildRequires: fdupes +%endif %python_subpackages %description @@ -281,7 +278,7 @@ test_failok+=" or test_generalized_sq" test_failok+=" or TestF77ReturnCharacter" test_failok+=" or TestF90ReturnCharacter" %endif -%ifarch %ix86 +%ifarch %{ix86} # (arm 32-bit seems okay here) # gh#numpy/numpy#18387 test_failok+=" or test_pareto" From d95e4603429815585067dc976ef712e1be37b81a96b407745aac9a839f149ce8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 11 Oct 2022 23:41:41 +0000 Subject: [PATCH 2/3] Accepting request 1009728 from home:bnavigator:branches:devel:languages:python:numeric - Revert some spec-cleaner "Verschlimmbesserungen" - Remove old unused directives for Python <=3.6 from specfile OBS-URL: https://build.opensuse.org/request/show/1009728 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=108 --- python-numpy.changes | 6 ++++ python-numpy.spec | 65 ++++++++++++++++++++++---------------------- 2 files changed, 38 insertions(+), 33 deletions(-) diff --git a/python-numpy.changes b/python-numpy.changes index 0c7103a..003a22c 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 11 08:27:00 UTC 2022 - Ben Greiner + +- Revert some spec-cleaner "Verschlimmbesserungen" +- Remove old unused directives for Python <=3.6 from specfile + ------------------------------------------------------------------- Fri Sep 30 23:43:53 UTC 2022 - Arun Persaud diff --git a/python-numpy.spec b/python-numpy.spec index fa2249f..3cd2fb1 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -32,15 +32,15 @@ %define c_f_ver 7 %bcond_without hpc %endif +%if %{with hpc} + %bcond_without openblas +%endif %if 0%{?sle_version} == 120300 %{?with_openblas:ExclusiveArch: do_not_build} %endif %ifarch s390 s390x %{?with_openblas:ExclusiveArch: do_not_build} %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 %{?with_hpc:%{hpc_requires}} # %if 0%{?suse_version} > 1500 @@ -48,10 +48,9 @@ %else %bcond_with libalternatives %endif +# %bcond_with ringdisabled -%if %{with hpc} - %bcond_without openblas -%endif +# %if %{without hpc} %define package_name %{pname} %define p_python_sitearch %{python_sitearch} @@ -70,6 +69,33 @@ ExclusiveArch: do_not_build %endif %endif +Name: %{package_name} +# set %%ver and %%_ver instead above +Version: %{ver} +Release: 0 +Summary: NumPy array processing for numbers, strings, records and objects +License: BSD-3-Clause +URL: http://www.numpy.org/ +Source: https://files.pythonhosted.org/packages/source/n/numpy/numpy-%{version}.tar.gz +Source99: python-numpy-rpmlintrc +# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes +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 +BuildRequires: %{python_module Cython >= 0.29.30} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module hypothesis >= 6.24.1} +BuildRequires: %{python_module pytest >= 6.2.5} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module setuptools >= 60.0.0} +BuildRequires: %{python_module testsuite} +BuildRequires: gcc-c++ +BuildRequires: python-rpm-macros >= 20210929 +BuildConflicts: gcc11 < 11.2 +%if 0%{?suse_version} +BuildRequires: fdupes +%endif %if %{without hpc} # Last version which packaged %%{_bindir}/f2py without update-alternatives # Protect it from substitution @@ -103,33 +129,6 @@ BuildRequires: lua-lmod BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc %endif -Name: %{package_name} -# set %%ver and %%_ver instead above -Version: %{ver} -Release: 0 -Summary: NumPy array processing for numbers, strings, records and objects -License: BSD-3-Clause -URL: http://www.numpy.org/ -Source: https://files.pythonhosted.org/packages/source/n/numpy/numpy-%{version}.tar.gz -Source99: python-numpy-rpmlintrc -# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes -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 -BuildRequires: %{python_module Cython >= 0.29.30} -BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module devel} -BuildRequires: %{python_module hypothesis >= 6.24.1} -BuildRequires: %{python_module pytest >= 6.2.5} -BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module setuptools >= 60.0.0} -BuildRequires: %{python_module testsuite} -BuildRequires: gcc-c++ -BuildRequires: python-rpm-macros >= 20210929 -BuildConflicts: gcc11 < 11.2 -%if 0%{?suse_version} -BuildRequires: fdupes -%endif %python_subpackages %description From 812da66f8e68988dc80293a6b672086ce863114a5bb709fe2c6fe87e4d71febd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 20 Oct 2022 18:06:15 +0000 Subject: [PATCH 3/3] Accepting request 1030219 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.23.4 * NumPy 1.23.4 is a maintenance release that fixes bugs discovered after the 1.23.3 release and keeps the build infrastructure current. The main improvements are fixes for some annotation corner cases, a fix for a long time nested_iters memory leak, and a fix of complex vector dot for very large arrays. The Python versions supported for this release are 3.8-3.11. OBS-URL: https://build.opensuse.org/request/show/1030219 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=109 --- numpy-1.23.3.tar.gz | 3 --- numpy-1.23.4.tar.gz | 3 +++ python-numpy.changes | 12 ++++++++++++ python-numpy.spec | 9 ++------- 4 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 numpy-1.23.3.tar.gz create mode 100644 numpy-1.23.4.tar.gz diff --git a/numpy-1.23.3.tar.gz b/numpy-1.23.3.tar.gz deleted file mode 100644 index 409f2d0..0000000 --- a/numpy-1.23.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51bf49c0cd1d52be0a240aa66f3458afc4b95d8993d2d04f0d91fa60c10af6cd -size 10726039 diff --git a/numpy-1.23.4.tar.gz b/numpy-1.23.4.tar.gz new file mode 100644 index 0000000..ec533bb --- /dev/null +++ b/numpy-1.23.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed2cc92af0efad20198638c69bb0fc2870a58dabfba6eb722c933b48556c686c +size 10728765 diff --git a/python-numpy.changes b/python-numpy.changes index 003a22c..f6ca342 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Oct 20 13:48:08 UTC 2022 - Ben Greiner + +- Update to 1.23.4 + * NumPy 1.23.4 is a maintenance release that fixes bugs + discovered after the 1.23.3 release and keeps the build + infrastructure current. The main improvements are fixes for + some annotation corner cases, a fix for a long time + nested_iters memory leak, and a fix of complex vector dot for + very large arrays. The Python versions supported for this + release are 3.8-3.11. + ------------------------------------------------------------------- Tue Oct 11 08:27:00 UTC 2022 - Ben Greiner diff --git a/python-numpy.spec b/python-numpy.spec index 3cd2fb1..d6c517f 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -17,8 +17,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.23.3 -%define _ver 1_23_3 +%define ver 1.23.4 +%define _ver 1_23_4 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" @@ -260,11 +260,6 @@ mkdir -p testing cp pytest.ini testing/ pushd testing -# Python 3.10 deprecated distutils. This is going to be fixed in numpy 1.22 gh#numpy/numpy#20419 -echo ' ignore:.*distutils.*:DeprecationWarning' >> pytest.ini -# Fixed in numpy 1.21.5 - gh#numpy/numpy#20467 -echo ' ignore:.*load_module.*:DeprecationWarning' >> pytest.ini - # flaky tests test_failok+=" or test_structured_object_indexing" test_failok+=" or test_structured_object_item_setting"