From b27177045ef64e387c2239af7c9e1bfcdd2b3395bd577f4b25d94ea45024fe13 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 7 May 2021 21:21:51 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.20.2:=20=20=20*=20MAINT:=20?= =?UTF-8?q?Update=20f2py=20from=20master.=20=20=20*=20BUG:=20diagflat=20co?= =?UTF-8?q?uld=20overflow=20on=20windows=20or=2032-bit=20platforms=20=20?= =?UTF-8?q?=20*=20BUG:=20Fix=20refcount=20leak=20in=20f2py=20complex=5Fdou?= =?UTF-8?q?ble=5Ffrom=5Fpyobj.=20=20=20*=20BUG:=20Fix=20tiny=20memory=20le?= =?UTF-8?q?aks=20when=20like=3D=20overrides=20are=20used=20=20=20*=20BUG:?= =?UTF-8?q?=20Remove=20temporary=20change=20of=20descr/flags=20in=20VOID?= =?UTF-8?q?=20functions=20=20=20*=20BUG:=20Segfault=20in=20nditer=20buffer?= =?UTF-8?q?=20dealloc=20for=20Object=20arrays=20=20=20*=20BUG:=20Remove=20?= =?UTF-8?q?suspicious=20type=20casting=20=20=20*=20BUG:=20remove=20nonsens?= =?UTF-8?q?ical=20comparison=20of=20pointer=20<=200=20=20=20*=20BUG:=20ver?= =?UTF-8?q?ify=20pointer=20against=20NULL=20before=20using=20it=20=20=20*?= =?UTF-8?q?=20BUG:=20check=20if=20PyArray=5Fmalloc=20succeeded=20=20=20*?= =?UTF-8?q?=20BUG:=20incorrect=20error=20fallthrough=20in=20nditer=20=20?= =?UTF-8?q?=20*=20MAINT:=20Add=20annotations=20for=20dtype.=5F=5Fgetitem?= =?UTF-8?q?=5F=5F,=20=5F=5Fmul=5F=5F=20and=E2=80=A6=20=20=20*=20BUG:=20Nam?= =?UTF-8?q?eError=20in=20numpy.distutils.fcompiler.compaq=20=20=20*=20BUG:?= =?UTF-8?q?=20Fixed=20where=20keyword=20for=20np.mean=20&=20np.var=20metho?= =?UTF-8?q?ds=20=20=20*=20MAINT:=20Ensure=20that=20re-exported=20sub-modul?= =?UTF-8?q?es=20are=20properly=20annotated=20=20=20*=20BUG:=20Fix=20ma=20c?= =?UTF-8?q?oercion=20list-of-ma-arrays=20if=20they=20do=20not=20cast=20to?= =?UTF-8?q?=E2=80=A6=20=20=20*=20BUG:=20Fix=20small=20valgrind-found=20iss?= =?UTF-8?q?ues=20=20=20*=20BUG:=20Fix=20small=20issues=20found=20with=20py?= =?UTF-8?q?test-leaks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=86 --- numpy-1.20.1.zip | 3 --- numpy-1.20.2.zip | 3 +++ python-numpy.changes | 23 +++++++++++++++++++++++ python-numpy.spec | 8 ++++---- 4 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 numpy-1.20.1.zip create mode 100644 numpy-1.20.2.zip diff --git a/numpy-1.20.1.zip b/numpy-1.20.1.zip deleted file mode 100644 index 62f038a..0000000 --- a/numpy-1.20.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3bc63486a870294683980d76ec1e3efc786295ae00128f9ea38e2c6e74d5a60a -size 7750776 diff --git a/numpy-1.20.2.zip b/numpy-1.20.2.zip new file mode 100644 index 0000000..8f2405e --- /dev/null +++ b/numpy-1.20.2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:878922bf5ad7550aa044aa9301d417e2d3ae50f0f577de92051d739ac6096cee +size 7756879 diff --git a/python-numpy.changes b/python-numpy.changes index e7d92b7..5eaf155 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Fri May 7 20:39:32 UTC 2021 - Dirk Müller + +- update to 1.20.2: + * MAINT: Update f2py from master. + * BUG: diagflat could overflow on windows or 32-bit platforms + * BUG: Fix refcount leak in f2py complex_double_from_pyobj. + * BUG: Fix tiny memory leaks when like= overrides are used + * BUG: Remove temporary change of descr/flags in VOID functions + * BUG: Segfault in nditer buffer dealloc for Object arrays + * BUG: Remove suspicious type casting + * BUG: remove nonsensical comparison of pointer < 0 + * BUG: verify pointer against NULL before using it + * BUG: check if PyArray_malloc succeeded + * BUG: incorrect error fallthrough in nditer + * MAINT: Add annotations for dtype.__getitem__, __mul__ and… + * BUG: NameError in numpy.distutils.fcompiler.compaq + * BUG: Fixed where keyword for np.mean & np.var methods + * MAINT: Ensure that re-exported sub-modules are properly annotated + * BUG: Fix ma coercion list-of-ma-arrays if they do not cast to… + * BUG: Fix small valgrind-found issues + * BUG: Fix small issues found with pytest-leaks + ------------------------------------------------------------------- Wed Feb 10 12:19:07 UTC 2021 - Ben Greiner diff --git a/python-numpy.spec b/python-numpy.spec index 1b26172..352f2ee 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -17,8 +17,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.20.1 -%define _ver 1_20_1 +%define ver 1.20.2 +%define _ver 1_20_2 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" @@ -116,7 +116,7 @@ BuildRequires: lua-lmod BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %endif %python_subpackages @@ -263,7 +263,7 @@ test_failok+=" or TestF90ReturnCharacter" %endif %ifarch %ix86 # (arm 32-bit seems okay here) -# gh#numpy/numpy#18387 +# gh#numpy/numpy#18387 test_failok+=" or test_pareto" # gh#numpy/numpy#18388 test_failok+=" or test_float_remainder_overflow"