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>
|
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}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# avoid that the process call of python inside the tests imports from source
|
# newer packaging package creates false DeprecationWarning gh#dask/fastparquet#558
|
||||||
# directory fastparquet and don't read setup.cfg
|
donttest+=" or test_import_without_warning"
|
||||||
mkdir ../testdir
|
|
||||||
cp -r test-data ../testdir/
|
|
||||||
pushd ../testdir
|
|
||||||
# Test test_time_millis has the wrong reference type for 32-bit
|
# Test test_time_millis has the wrong reference type for 32-bit
|
||||||
%if 0%{?__isa_bits} != 64
|
%if 0%{?__isa_bits} != 64
|
||||||
%define donttest -k 'not test_time_millis'
|
donttest+=" or test_time_millis"
|
||||||
%endif
|
%endif
|
||||||
%pytest_arch --pyargs fastparquet %{?donttest}
|
%pytest_arch --pyargs fastparquet --import-mode append -k "not (${donttest:4})"
|
||||||
popd
|
|
||||||
rm -r ../testdir
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user