Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2020-10-25 18:09:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numpy" Sun Oct 25 18:09:42 2020 rev:94 rq:840324 version:1.19.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes 2020-09-04 10:57:27.902570418 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new.3463/python-numpy.changes 2020-10-25 18:10:11.971548543 +0100 @@ -1,0 +2,46 @@ +Fri Oct 2 13:29:32 UTC 2020 - Stefan Brüns <[email protected]> + +- Add cblas build dependency, otherwise numpy uses naive internal + implementations for some blas operations, mitigates boo#1177260. +- Add libopenblas recommends. To actually use openblas instead of + netlib BLAS/LAPACK, update-alternatives has to be used. +- Remove .pytest_cache from the build_root + +------------------------------------------------------------------- +Wed Sep 30 07:13:22 UTC 2020 - Guillaume GARDET <[email protected]> + +- Increase required memory to avoid test failures + +------------------------------------------------------------------- +Tue Sep 22 16:40:40 UTC 2020 - Stefan Brüns <[email protected]> + +- Fix upgrade from older distro versions which did not package + f2py using update-alternatives (catched by openQA, boo#1176832). + +------------------------------------------------------------------- +Fri Sep 18 08:19:50 UTC 2020 - Egbert Eich <[email protected]> + +- Build only HPC version with OpenBLAS, use standard BLAS/LAPACK + for non-HPC instead. +- Create a macro %ver for the package version number next to %_ver + to help keep both in sync. + +------------------------------------------------------------------- +Sat Sep 12 19:55:00 UTC 2020 - Arun Persaud <[email protected]> + +- update to version 1.19.2: + * #16959: TST: Change aarch64 to arm64 in travis.yml. + * #16998: MAINT: Configure hypothesis in np.test() for + determinism,... + * #17000: BLD: pin setuptools < 49.2.0 + * #17015: ENH: Add NumPy declarations to be used by Cython 3.0+ + * #17125: BUG: Remove non-threadsafe sigint handling from fft + calculation + * #17243: BUG: core: fix ilp64 blas dot/vdot/... for strides > int32 + max + * #17244: DOC: Use SPDX license expressions with correct license + * #17245: DOC: Fix the link to the quick-start in the old API + functions + * #17272: BUG: fix pickling of arrays larger than 2GiB + +------------------------------------------------------------------- Old: ---- numpy-1.19.1.zip New: ---- numpy-1.19.2.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.XhUbJd/_old 2020-10-25 18:10:13.791550265 +0100 +++ /var/tmp/diff_new_pack.XhUbJd/_new 2020-10-25 18:10:13.795550269 +0100 @@ -17,28 +17,22 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_19_0 +%define ver 1.19.2 +%define _ver 1_19_2 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == "" %bcond_with hpc - %if 0%{?sle_version} == 120300 && !0%{?is_opensuse} %bcond_with openblas - %else - %ifarch armv6l s390 s390x m68k riscv64 - %bcond_with openblas - %else - %bcond_without openblas - %endif - %endif %endif %if "%{flavor}" == "gnu-hpc" %bcond_without hpc - %bcond_without openblas %endif %if "%{flavor}" == "gnu7-hpc" %define c_f_ver 7 %bcond_without hpc +%endif +%if %{with hpc} %bcond_without openblas %endif %if 0%{?sle_version} == 120300 @@ -70,7 +64,8 @@ %endif %endif Name: %{package_name} -Version: 1.19.1 +# set %%ver and %%_ver instead above +Version: %ver Release: 0 Summary: NumPy array processing for numbers, strings, records and objects License: BSD-3-Clause @@ -106,8 +101,15 @@ BuildRequires: openblas-devel > 0.3.4 %else BuildRequires: blas-devel +BuildRequires: cblas-devel 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 %else BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel @@ -142,6 +144,7 @@ Requires: openblas-devel %else Requires: blas-devel +Requires: cblas-devel Requires: lapack-devel %endif %else @@ -254,10 +257,13 @@ # boo#1148173 gh#numpy/numpy#14438 %ifarch ppc64 ppc64le %define skiptest -k "not test_generalized_sq" +%pytest_arch -n auto --pyargs numpy %{buildroot}%{python_sitearch}/numpy -k "test_generalized_sq" || true %endif %pytest_arch -n auto --pyargs numpy %{buildroot}%{python_sitearch}/numpy %{?skiptest} popd +rm -Rf %{buildroot}%{python_sitearch}/numpy/.pytest_cache %endif + %if %{without hpc} %post %python_install_alternative f2py ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.XhUbJd/_old 2020-10-25 18:10:13.823550295 +0100 +++ /var/tmp/diff_new_pack.XhUbJd/_new 2020-10-25 18:10:13.827550299 +0100 @@ -1,7 +1,7 @@ <constraints> <hardware> <physicalmemory> - <size unit="G">6</size> + <size unit="G">8</size> </physicalmemory> <disk> <size unit="G">6</size>
