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:
parent
62d9529bea
commit
b6df563592
@ -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>
|
Sat Aug 3 15:10:41 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
# Test files not included
|
# Test files not included
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-fastparquet
|
Name: python-fastparquet
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -80,18 +81,18 @@ export CFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
mkdir tester
|
cp -r fastparquet/test .
|
||||||
cp -r test-data tester/
|
mv fastparquet temp
|
||||||
cp -r fastparquet/test tester/
|
rm -rf build _build*
|
||||||
pushd tester
|
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
rm -rf build _build*
|
rm -rf build _build*
|
||||||
# Test test_time_millis fails in i586
|
# Test test_time_millis fails in i586
|
||||||
# test_datetime_roundtrip fails due to a warning being accidentally caught by the test
|
# 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
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user