diff --git a/python-fastparquet.changes b/python-fastparquet.changes index 37cf62a..3a27d20 100644 --- a/python-fastparquet.changes +++ b/python-fastparquet.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 3 21:43:10 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-fastparquet.spec b/python-fastparquet.spec index 243bda0..511aa38 100644 --- a/python-fastparquet.spec +++ b/python-fastparquet.spec @@ -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