From bc29c40d3575214d6ef299b629878584eea1502e45925210a3841a27f08cc882 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 30 Apr 2019 20:10:30 +0000 Subject: [PATCH] Accepting request 699761 from home:TheBlackCat:branches:devel:languages:python:numeric - update to 0.3.1 * Add schema == (__eq__) and != (__ne__) methods and tests. * Fix item iteration for decimals * List missing columns in error message * Fix tz being None case - Update to 0.3.0 * Squash some warnings and import failures * Improvements to in and not in operators * Fixes because pandas released OBS-URL: https://build.opensuse.org/request/show/699761 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=9 --- fastparquet-0.2.1.tar.gz | 3 --- fastparquet-0.3.1.tar.gz | 3 +++ python-fastparquet.changes | 13 +++++++++++++ python-fastparquet.spec | 31 ++++++++++++++++++++++++------- 4 files changed, 40 insertions(+), 10 deletions(-) delete mode 100644 fastparquet-0.2.1.tar.gz create mode 100644 fastparquet-0.3.1.tar.gz diff --git a/fastparquet-0.2.1.tar.gz b/fastparquet-0.2.1.tar.gz deleted file mode 100644 index c33146a..0000000 --- a/fastparquet-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5e35a0aefc8db775397c503b7c2373892c8bc9136d5804d2699a5a68616d7ca0 -size 147039 diff --git a/fastparquet-0.3.1.tar.gz b/fastparquet-0.3.1.tar.gz new file mode 100644 index 0000000..c336d34 --- /dev/null +++ b/fastparquet-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2edab6b9c2e395fb9162342c10fbecd929006c842ea8abfca802fd5550717da8 +size 28907386 diff --git a/python-fastparquet.changes b/python-fastparquet.changes index 6aafc95..dab6e90 100644 --- a/python-fastparquet.changes +++ b/python-fastparquet.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Apr 30 14:28:46 UTC 2019 - Todd R + +- update to 0.3.1 + * Add schema == (__eq__) and != (__ne__) methods and tests. + * Fix item iteration for decimals + * List missing columns in error message + * Fix tz being None case +- Update to 0.3.0 + * Squash some warnings and import failures + * Improvements to in and not in operators + * Fixes because pandas released + ------------------------------------------------------------------- Sat Jan 26 17:05:09 UTC 2019 - Arun Persaud diff --git a/python-fastparquet.spec b/python-fastparquet.spec index 8831438..1702424 100644 --- a/python-fastparquet.spec +++ b/python-fastparquet.spec @@ -18,38 +18,45 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Test files not included -%bcond_with test +%bcond_without test Name: python-fastparquet -Version: 0.2.1 +Version: 0.3.1 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://files.pythonhosted.org/packages/source/f/fastparquet/fastparquet-%{version}.tar.gz +Source: https://github.com/dask/fastparquet/archive/%{version}.tar.gz#/fastparquet-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module cffi >= 0.6} BuildRequires: %{python_module numba >= 0.28} BuildRequires: %{python_module numpy-devel >= 1.11} BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: %{python_module thriftpy >= 0.3.6} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numba >= 0.28 Requires: python-numpy >= 1.11 Requires: python-pandas Requires: python-six -Requires: python-thriftpy >= 0.3.6 +Requires: python-thrift >= 0.11.0 Recommends: python-Brotli +Recommends: python-bson Recommends: python-python-lzo +Recommends: python-lz4 >= 0.19.1 Recommends: python-python-snappy +Recommends: python-zstandard %if %{with test} BuildRequires: %{python_module Brotli} -BuildRequires: %{python_module pytest} +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 @@ -72,7 +79,17 @@ export CFLAGS="%{optflags}" %if %{with test} %check -%python_exec setup.py test +mkdir tester +cp -r test-data tester/ +cp -r fastparquet/test tester/ +pushd tester +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +export PYTHONDONTWRITEBYTECODE=1 +rm -rf build _build* +# Test fails in i586 +pytest-%{$python_bin_suffix} . -k 'not test_time_millis' +} +popd %endif %files %{python_files}