From df803b18228fd3fbe59f350aec1ad8f1de51319b80fff7831cf3730ccb980f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 30 Jun 2020 13:24:12 +0000 Subject: [PATCH] Accepting request 817874 from home:bnavigator:branches:devel:languages:python:numeric - still open: boo#1148173 gh#numpy/numpy#14438 skip two tests - clean %check section for updated %pytest_arch gh#openSUSE/python-rpm-macros#50 OBS-URL: https://build.opensuse.org/request/show/817874 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=66 --- python-numpy.changes | 7 +++++++ python-numpy.spec | 8 +++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/python-numpy.changes b/python-numpy.changes index 8e5aee6..766cf00 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 30 12:53:23 UTC 2020 - Benjamin Greiner + +- still open: boo#1148173 gh#numpy/numpy#14438 skip two tests +- clean %check section for updated %pytest_arch + gh#openSUSE/python-rpm-macros#50 + ------------------------------------------------------------------- Wed May 13 09:13:22 UTC 2020 - Matej Cepl diff --git a/python-numpy.spec b/python-numpy.spec index 0aa3802..487dcb8 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -247,12 +247,14 @@ EOF %check %if %{without hpc} -export PYTHONDONTWRITEBYTECODE=1 export PATH="%{buildroot}%{_bindir}:$PATH" mkdir testing pushd testing -%python_expand export PYTHONPATH=%{_python_sysconfig_path $python stdlib}:%{$python_sitearch} -%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy +# boo#1148173 gh#numpy/numpy#14438 +%ifarch ppc64 ppc64le +%define skiptest -k "not test_generalized_sq" +%endif +%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy %{?skiptest} popd %endif %if %{without hpc}