1
0
forked from pool/python-pandas

- Skip i586 failing tests with upstream ticket

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=32
This commit is contained in:
Tomáš Chvátal 2020-03-16 07:13:52 +00:00 committed by Git OBS Bridge
parent 35f3a97ed9
commit 62297593a4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 16 07:12:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Skip i586 failing tests with upstream ticket
-------------------------------------------------------------------
Fri Mar 13 00:13:11 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -114,6 +114,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%check
# skip test that tries to compile stuff in buildroot test_oo_optimizable
# test_encode_non_c_locale - skip test as it overflows on 32bit
# test_maybe_promote_int_with_int https://github.com/pandas-dev/pandas/issues/31856
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4;
export LANG=en_US.UTF-8
@ -121,7 +122,7 @@ export LC_ALL=en_US.UTF-8
export PYTHONDONTWRITEBYTECODE=1
mv pandas pandas_temp
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
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'
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'
}
mv pandas_temp pandas