1
0

Accepting request 1179165 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1179165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastparquet?expand=0&rev=33
This commit is contained in:
Ana Guerrero 2024-06-07 13:05:18 +00:00 committed by Git OBS Bridge
commit 2ecad53bb5
4 changed files with 17 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jun 6 17:44:58 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 2024.5.0
* Allow zoneinfo objects (#916)
* Use np.int64 type for day to nanosecond conversion (NEP50)
(#922)
-------------------------------------------------------------------
Mon Mar 4 21:12:17 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-fastparquet
Version: 2024.2.0
Version: 2024.5.0
Release: 0
Summary: Python support for Parquet file format
License: Apache-2.0
@ -26,11 +26,11 @@ 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
BuildRequires: %{python_module Cython >= 0.29.23}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module cramjam >= 2.3.0}
# version requirement not declared for runtime, but necessary for tests.
BuildRequires: %{python_module fsspec >= 2021.6.0}
BuildRequires: %{python_module numpy-devel >= 1.20.3}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pandas >= 1.5.0}
BuildRequires: %{python_module pip}
@ -38,7 +38,7 @@ 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_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@ -46,7 +46,7 @@ BuildRequires: git-core
BuildRequires: python-rpm-macros
Requires: python-cramjam >= 2.3.0
Requires: python-fsspec
Requires: python-numpy >= 1.20.3
Requires: python-numpy
Requires: python-packaging
Requires: python-pandas >= 1.5.0
Recommends: python-python-lzo
@ -58,10 +58,6 @@ for integrating it into python-based Big Data workflows.
%prep
%autosetup -p1 -n fastparquet-%{version}
# remove pytest-runner from setup_requires
sed -i "s/'pytest-runner',//" setup.py
# this is not meant for setup.py
sed -i "s/oldest-supported-numpy/numpy/" setup.py
# the tests import the fastparquet.test module and we need to import from sitearch, so install it.
sed -i -e "s/^\s*packages=\[/&'fastparquet.test', /" -e "/exclude_package_data/ d" setup.py
# remove empty module
@ -89,6 +85,6 @@ echo "Not running tests for s390x"
%doc README.rst
%license LICENSE
%{python_sitearch}/fastparquet
%{python_sitearch}/fastparquet-%{version}*-info
%{python_sitearch}/fastparquet-%{version}.dist-info
%changelog