From b6df56359268569c3488ca080a802cc86f27f73cc7271c4e2148bb27b7c78f4c Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 25 Oct 2019 17:52:59 +0000 Subject: [PATCH] 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 --- python-fastparquet.changes | 6 ++++++ python-fastparquet.spec | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-fastparquet.changes b/python-fastparquet.changes index 6092ec8..2c7bb02 100644 --- a/python-fastparquet.changes +++ b/python-fastparquet.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 25 17:50:50 UTC 2019 - Todd R + +- Drop broken python 2 support. +- Testing fixes + ------------------------------------------------------------------- Sat Aug 3 15:10:41 UTC 2019 - Arun Persaud diff --git a/python-fastparquet.spec b/python-fastparquet.spec index 8f02b02..3867555 100644 --- a/python-fastparquet.spec +++ b/python-fastparquet.spec @@ -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}