1
0

Accepting request 950136 from home:bnavigator:branches:devel:languages:python:numeric

- Update to 0.8.0
  * our own cythonic thrift implementation (drop thrift dependency)
  * more in-place dataset editing ad reordering
  * python 3.10 support
  * fixes for multi-index and pandas types
- Clean test skips

OBS-URL: https://build.opensuse.org/request/show/950136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=37
This commit is contained in:
Matej Cepl 2022-01-31 20:28:31 +00:00 committed by Git OBS Bridge
parent c9d6b4d9cf
commit 59c9a3b022
4 changed files with 15 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e55e385d91f92dd51a759db09a131f5af76933775eab201d6bd480f406b6b59
size 29167450

3
fastparquet-0.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db86fce564970871494a06e61022308abd6bb3f05316948ae12c48770e8723a6
size 29213445

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Jan 29 21:36:38 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.8.0
* our own cythonic thrift implementation (drop thrift dependency)
* more in-place dataset editing ad reordering
* python 3.10 support
* fixes for multi-index and pandas types
- Clean test skips
-------------------------------------------------------------------
Sun Jan 16 13:34:53 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -16,11 +16,10 @@
#
%define _buildshell /bin/bash
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-fastparquet
Version: 0.7.2
Version: 0.8.0
Release: 0
Summary: Python support for Parquet file format
License: Apache-2.0
@ -35,23 +34,12 @@ BuildRequires: %{python_module pandas >= 1.1.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-lzo}
BuildRequires: %{python_module setuptools}
%if 0%{suse_version} >= 1550
# https://github.com/dask/fastparquet/issues/514
BuildRequires: %{python_module thrift >= 0.15.0}
%else
BuildRequires: %{python_module thrift >= 0.11.0}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cramjam >= 2.3.0
Requires: python-fsspec
Requires: python-numpy >= 1.18
Requires: python-pandas >= 1.1.0
%if 0%{python_version_nodots} >= 310
Requires: python-thrift >= 0.15.0
%else
Requires: python-thrift >= 0.11.0
%endif
Recommends: python-python-lzo
%python_subpackages
@ -78,13 +66,7 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# newer packaging package creates false DeprecationWarning gh#dask/fastparquet#558
donttest+=" or test_import_without_warning"
# Test test_time_millis has the wrong reference type for 32-bit
%if 0%{?__isa_bits} != 64
donttest+=" or test_time_millis"
%endif
%pytest_arch --pyargs fastparquet --import-mode append -k "not (${donttest:4})"
%pytest_arch --pyargs fastparquet --import-mode append
%files %{python_files}
%doc README.rst