Accepting request 840324 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/840324 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=94
This commit is contained in:
commit
28391653e3
@ -1,7 +1,7 @@
|
||||
<constraints>
|
||||
<hardware>
|
||||
<physicalmemory>
|
||||
<size unit="G">6</size>
|
||||
<size unit="G">8</size>
|
||||
</physicalmemory>
|
||||
<disk>
|
||||
<size unit="G">6</size>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8456987b637232602ceb4d663cb34106f7eb780e247d51a260b84760fd8f491
|
||||
size 7301568
|
3
numpy-1.19.2.zip
Normal file
3
numpy-1.19.2.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0d310730e1e793527065ad7dde736197b705d0e4c9999775f212b03c44a8484c
|
||||
size 7310530
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 2 13:29:32 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- 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 <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Increase required memory to avoid test failures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 16:40:40 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- 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 <eich@suse.com>
|
||||
|
||||
- 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 <arun@gmx.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 15:35:20 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@ -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
|
||||
%bcond_with openblas
|
||||
%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 @@ ExclusiveArch: do_not_build
|
||||
%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: gcc-gfortran
|
||||
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: python-devel
|
||||
Requires: openblas-devel
|
||||
%else
|
||||
Requires: blas-devel
|
||||
Requires: cblas-devel
|
||||
Requires: lapack-devel
|
||||
%endif
|
||||
%else
|
||||
@ -254,10 +257,13 @@ pushd testing
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user