1
0

Accepting request 742992 from home:TheBlackCat:branches:devel:languages:python:numeric

- Drop broken python 2 support.
- Testing fixes

OBS-URL: https://build.opensuse.org/request/show/742992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=16
This commit is contained in:
Todd R 2019-10-25 17:52:59 +00:00 committed by Git OBS Bridge
parent 62d9529bea
commit b6df563592
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 25 17:50:50 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Drop broken python 2 support.
- Testing fixes
-------------------------------------------------------------------
Sat Aug 3 15:10:41 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@ -19,6 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Test files not included
%bcond_without test
%define skip_python2 1
Name: python-fastparquet
Version: 0.3.2
Release: 0
@ -80,18 +81,18 @@ export CFLAGS="%{optflags}"
%if %{with test}
%check
mkdir tester
cp -r test-data tester/
cp -r fastparquet/test tester/
pushd tester
cp -r fastparquet/test .
mv fastparquet temp
rm -rf build _build*
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
export PYTHONDONTWRITEBYTECODE=1
rm -rf build _build*
# Test test_time_millis fails in i586
# test_datetime_roundtrip fails due to a warning being accidentally caught by the test
pytest-%{$python_bin_suffix} . -k 'not test_time_millis and not test_datetime_roundtrip'
pytest-%{$python_bin_suffix} test -k 'not test_time_millis and not test_datetime_roundtrip and not test_errors'
}
popd
mv temp fastparquet
rm -rf test
%endif
%files %{python_files}