Accepting request 869528 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/869528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastparquet?expand=0&rev=14
This commit is contained in:
commit
96551dd71b
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 21:43:10 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Skip the import without warning test gh#dask/fastparquet#558
|
||||
- Apply the Cepl-Strangelove-Parameter to pytest
|
||||
(--import-mode append)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 2 21:04:30 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -75,18 +75,13 @@ export CFLAGS="%{optflags}"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
# avoid that the process call of python inside the tests imports from source
|
||||
# directory fastparquet and don't read setup.cfg
|
||||
mkdir ../testdir
|
||||
cp -r test-data ../testdir/
|
||||
pushd ../testdir
|
||||
# newer packaging package creates false DeprecationWarning gh#dask/fastparquet#558
|
||||
donttest+=" or test_import_without_warning"
|
||||
# Test test_time_millis has the wrong reference type for 32-bit
|
||||
%if 0%{?__isa_bits} != 64
|
||||
%define donttest -k 'not test_time_millis'
|
||||
donttest+=" or test_time_millis"
|
||||
%endif
|
||||
%pytest_arch --pyargs fastparquet %{?donttest}
|
||||
popd
|
||||
rm -r ../testdir
|
||||
%pytest_arch --pyargs fastparquet --import-mode append -k "not (${donttest:4})"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user