Hello community,

here is the log from the commit of package python-fastparquet for 
openSUSE:Factory checked in at 2020-04-07 10:30:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fastparquet (Old)
 and      /work/SRC/openSUSE:Factory/.python-fastparquet.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fastparquet"

Tue Apr  7 10:30:03 2020 rev:10 rq:791651 version:0.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fastparquet/python-fastparquet.changes    
2019-10-27 13:41:17.853287500 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fastparquet.new.3248/python-fastparquet.changes
  2020-04-07 10:31:48.706536915 +0200
@@ -1,0 +2,12 @@
+Mon Apr  6 06:54:36 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add patch to use sys.executable and not call py2 binary directly:
+  * use-python-exec.patch
+
+-------------------------------------------------------------------
+Mon Apr  6 06:50:26 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.3.3:
+  * no upstream changelog
+
+-------------------------------------------------------------------

Old:
----
  fastparquet-0.3.2.tar.gz

New:
----
  fastparquet-0.3.3.tar.gz
  use-python-exec.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-fastparquet.spec ++++++
--- /var/tmp/diff_new_pack.TYa71l/_old  2020-04-07 10:31:49.934538515 +0200
+++ /var/tmp/diff_new_pack.TYa71l/_new  2020-04-07 10:31:49.934538515 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fastparquet
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,31 @@
 
 
 %{?!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
+Version:        0.3.3
 Release:        0
 Summary:        Python support for Parquet file format
 License:        Apache-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/dask/fastparquet/
 Source:         
https://github.com/dask/fastparquet/archive/%{version}.tar.gz#/fastparquet-%{version}.tar.gz
+Patch0:         use-python-exec.patch
+BuildRequires:  %{python_module Brotli}
 BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module bson}
 BuildRequires:  %{python_module cffi >= 0.6}
+BuildRequires:  %{python_module lz4 >= 0.19.1 }
 BuildRequires:  %{python_module numba >= 0.28}
 BuildRequires:  %{python_module numpy-devel >= 1.11}
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module python-lzo}
+BuildRequires:  %{python_module python-snappy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module thrift >= 0.11.0}
+BuildRequires:  %{python_module zstandard}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-numba >= 0.28
@@ -50,17 +55,6 @@
 Recommends:     python-python-lzo
 Recommends:     python-python-snappy
 Recommends:     python-zstandard
-%if %{with test}
-BuildRequires:  %{python_module Brotli}
-BuildRequires:  %{python_module bson}
-BuildRequires:  %{python_module lz4 >= 0.19.1 }
-BuildRequires:  %{python_module python-lzo}
-BuildRequires:  %{python_module python-snappy}
-BuildRequires:  %{python_module thrift >= 0.11.0}
-BuildRequires:  %{python_module zstandard}
-BuildRequires:  python-funcsigs
-BuildRequires:  python-singledispatch
-%endif
 %python_subpackages
 
 %description
@@ -69,6 +63,7 @@
 
 %prep
 %setup -q -n fastparquet-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -79,7 +74,6 @@
 %python_expand rm -v %{buildroot}%{$python_sitearch}/fastparquet/speedups.c
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
 cp -r fastparquet/test .
 mv fastparquet temp
@@ -89,11 +83,11 @@
 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} test -k 'not test_time_millis and not 
test_datetime_roundtrip and not test_errors'
+# test_import_without_warning fails due to being already imported
+pytest-%{$python_bin_suffix} -v test -k 'not test_time_millis and not 
test_datetime_roundtrip and not test_errors and not test_import_without_warning'
 }
 mv temp fastparquet
 rm -rf test
-%endif
 
 %files %{python_files}
 %doc README.rst

++++++ fastparquet-0.3.2.tar.gz -> fastparquet-0.3.3.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-fastparquet/fastparquet-0.3.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-fastparquet.new.3248/fastparquet-0.3.3.tar.gz
 differ: char 13, line 1

++++++ use-python-exec.patch ++++++
Index: fastparquet-0.3.3/fastparquet/test/test_api.py
===================================================================
--- fastparquet-0.3.3.orig/fastparquet/test/test_api.py
+++ fastparquet-0.3.3/fastparquet/test/test_api.py
@@ -4,6 +4,7 @@ from __future__ import unicode_literals
 import io
 import os
 import subprocess
+import sys
 from distutils.version import LooseVersion
 
 import numba
@@ -26,7 +27,7 @@ TEST_DATA = "test-data"
 @pytest.mark.skipif(numba.__version__ <= LooseVersion("0.39.0"), 
reason="Warning from numba.")
 def test_import_without_warning():
     # in a subprocess to avoid import chacing issues.
-    subprocess.check_call(["python", "-Werror", "-c", "import fastparquet"])
+    subprocess.check_call([sys.executable, "-Werror", "-c", "import 
fastparquet"])
 
 
 def test_statistics(tempdir):

Reply via email to