1
0

Accepting request 1046424 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1046424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastparquet?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2023-01-03 14:05:41 +00:00 committed by Git OBS Bridge
commit 56cbfb5c18
5 changed files with 30 additions and 36559 deletions

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Jan 2 20:38:49 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 2022.12.0
* check all int32 values before passing to thrift writer
* fix type of num_rows to i64 for big single file
- Release 2022.11.0
* Switch to calver
* Speed up loading of nullable types
* Allow schema evolution by addition of columns
* Allow specifying dtypes of output
* update to scm versioning
* fixes to row filter, statistics and tests
* support pathlib.Paths
* JSON encoder options
- Drop fastparquet-pr813-updatefixes.patch
-------------------------------------------------------------------
Fri Dec 23 09:18:39 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-fastparquet
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,13 @@
Name: python-fastparquet
Version: 0.8.3
Version: 2022.12.0
Release: 0
Summary: Python support for Parquet file format
License: Apache-2.0
URL: https://github.com/dask/fastparquet/
# Use GitHub archive, because it containts the test modules and data, requires setting version manuall for setuptools_scm
Source: https://github.com/dask/fastparquet/archive/%{version}.tar.gz#/fastparquet-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fastparquet-pr813-updatefixes.patch gh#dask/fastparquet#813
Patch1: fastparquet-pr813-updatefixes.patch
# PATCH-FIX-UPSTREAM fastparquet-pr835.patch gh#dask/fastparquet#835
Patch2: fastparquet-pr835.patch
BuildRequires: %{python_module Cython}
@ -35,12 +34,16 @@ BuildRequires: %{python_module fsspec >= 2021.6.0}
BuildRequires: %{python_module numpy-devel >= 1.20.3}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pandas >= 1.5.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-lzo}
BuildRequires: %{python_module setuptools_scm > 1.5.4}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: python-rpm-macros
Requires: python-cramjam >= 2.3.0
Requires: python-fsspec
@ -65,10 +68,11 @@ sed -i -e "s/^\s*packages=\[/&'fastparquet.test', /" -e "/exclude_package_data/
%build
export CFLAGS="%{optflags}"
%python_build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand rm -v %{buildroot}%{$python_sitearch}/fastparquet/{speedups,cencoding}.c
%python_expand %fdupes %{buildroot}%{$python_sitearch}