1
0

Accepting request 950305 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/950305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastparquet?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2022-02-02 21:40:06 +00:00 committed by Git OBS Bridge
commit c52b2a2386
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