1
0

Accepting request 1179058 from home:bnavigator:numpy

- Update to 2024.5.0
 * Allow zoneinfo objects (#916)
 * Use np.int64 type for day to nanosecond conversion (NEP50)
   (#922)

OBS-URL: https://build.opensuse.org/request/show/1179058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=61
This commit is contained in:
Markéta Machová 2024-06-07 09:29:40 +00:00 committed by Git OBS Bridge
parent 6b501fc0a4
commit 62ed31f2b5
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> Mon Mar 4 21:12:17 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-fastparquet Name: python-fastparquet
Version: 2024.2.0 Version: 2024.5.0
Release: 0 Release: 0
Summary: Python support for Parquet file format Summary: Python support for Parquet file format
License: Apache-2.0 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 # 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 Source: https://github.com/dask/fastparquet/archive/%{version}.tar.gz#/fastparquet-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 0.29.23} 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} BuildRequires: %{python_module cramjam >= 2.3.0}
# version requirement not declared for runtime, but necessary for tests. # version requirement not declared for runtime, but necessary for tests.
BuildRequires: %{python_module fsspec >= 2021.6.0} 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 packaging}
BuildRequires: %{python_module pandas >= 1.5.0} BuildRequires: %{python_module pandas >= 1.5.0}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
@ -38,7 +38,7 @@ BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-lzo} 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 setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
@ -46,7 +46,7 @@ BuildRequires: git-core
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-cramjam >= 2.3.0 Requires: python-cramjam >= 2.3.0
Requires: python-fsspec Requires: python-fsspec
Requires: python-numpy >= 1.20.3 Requires: python-numpy
Requires: python-packaging Requires: python-packaging
Requires: python-pandas >= 1.5.0 Requires: python-pandas >= 1.5.0
Recommends: python-python-lzo Recommends: python-python-lzo
@ -58,10 +58,6 @@ for integrating it into python-based Big Data workflows.
%prep %prep
%autosetup -p1 -n fastparquet-%{version} %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. # 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 sed -i -e "s/^\s*packages=\[/&'fastparquet.test', /" -e "/exclude_package_data/ d" setup.py
# remove empty module # remove empty module
@ -89,6 +85,6 @@ echo "Not running tests for s390x"
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitearch}/fastparquet %{python_sitearch}/fastparquet
%{python_sitearch}/fastparquet-%{version}*-info %{python_sitearch}/fastparquet-%{version}.dist-info
%changelog %changelog