From ca2342b165dbe0ca4c949a42b862811812df430384ce740592e8836968ba1c12 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 30 Jun 2020 13:04:03 +0000 Subject: [PATCH] - Skip test_raw_roundtrip on i586 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=44 --- python-pandas.changes | 5 +++++ python-pandas.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/python-pandas.changes b/python-pandas.changes index f56204d..fe7066b 100644 --- a/python-pandas.changes +++ b/python-pandas.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 30 13:03:14 UTC 2020 - Matej Cepl + +- Skip test_raw_roundtrip on i586 + ------------------------------------------------------------------- Wed Jun 24 01:52:29 UTC 2020 - Todd R diff --git a/python-pandas.spec b/python-pandas.spec index 6013112..86e3458 100644 --- a/python-pandas.spec +++ b/python-pandas.spec @@ -123,10 +123,15 @@ export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4; export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 export PYTHONDONTWRITEBYTECODE=1 +export SKIP_TESTS="test_oo_optimizable or test_encode_non_c_locale or test_maybe_promote_int_with_int" +# Skip test_raw_roundtrip on i586, gh#pandas-dev/pandas#29712 +%ifarch %{ix86} +SKIP_TESTS="$SKIP_TESTS or test_raw_roundtrip" +%endif mv pandas pandas_temp %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} $python -c 'import pandas; print(pandas.show_versions())' -xvfb-run py.test-%{$python_version} -n auto -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable and not test_encode_non_c_locale and not test_maybe_promote_int_with_int' +xvfb-run py.test-%{$python_version} -n auto -v %{buildroot}%{$python_sitearch}/pandas/tests -k "not ($SKIP_TESTS)" } mv pandas_temp pandas