[packages/python3-pandas] - updated to 2.3.3
qboosh
qboosh at pld-linux.org
Thu Apr 30 22:13:45 CEST 2026
commit 20a8385a8f11b9bdeec3b61a479d182d19f08495
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 30 22:14:27 2026 +0200
- updated to 2.3.3
no-strict-deps.patch | 13 -------------
python3-pandas.spec | 38 ++++++++++++++++++--------------------
2 files changed, 18 insertions(+), 33 deletions(-)
---
diff --git a/python3-pandas.spec b/python3-pandas.spec
index ff7f82b..040fc38 100644
--- a/python3-pandas.spec
+++ b/python3-pandas.spec
@@ -1,27 +1,26 @@
-# TODO: finish apidocs and tests
+# TODO: finish apidocs and tests when available
#
# Conditional build:
-%bcond_with doc # Sphinx documentation
+%bcond_with doc # Sphinx documentation (not in sdist)
%bcond_with tests # unit tests (some files missing in sdist, some inaccuracy errors, some with 32-bit time_t)
Summary: Powerful data structures for data analysis, time series and statistics
Summary(pl.UTF-8): Elastyczne struktury danych do analizy danych, szeregów chronologicznych i statystyki
Name: python3-pandas
-Version: 2.2.3
-Release: 4
+Version: 2.3.3
+Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pandas/
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
-# Source0-md5: 67cae6d658e0e0716518afd84d7d43ce
-Patch0: no-strict-deps.patch
+# Source0-md5: cdbe453e664094d42fa7c1453d5aaf51
Patch1: pandas-no-tzdata.patch
URL: https://pypi.org/project/pandas/
BuildRequires: libstdc++-devel
BuildRequires: meson >= 1.2.1
BuildRequires: patchelf
BuildRequires: python3-Cython >= 3.0.5
-BuildRequires: python3-Cython < 3.1
+BuildRequires: python3-Cython < 4
BuildRequires: python3-build
BuildRequires: python3-devel >= 1:3.9
BuildRequires: python3-installer
@@ -33,7 +32,7 @@ BuildRequires: python3-wheel
BuildRequires: python3-dateutil >= 2.8.2
# used by hypothesis
BuildRequires: python3-dateutil-zoneinfo >= 2.8.1
-BuildRequires: python3-hypothesis >= 5.5.3
+BuildRequires: python3-hypothesis >= 6.46.1
%if "%{py3_ver}" < "3.11"
BuildRequires: python3-numpy >= 1.22.4
%endif
@@ -43,9 +42,7 @@ BuildRequires: python3-numpy >= 1.23.2
%if "%{py3_ver}" >= "3.12"
BuildRequires: python3-numpy >= 1.26.0
%endif
-BuildRequires: python3-pytest >= 6.0
-BuildRequires: python3-pytest-asyncio
-BuildRequires: python3-pytest-xdist >= 1.31
+BuildRequires: python3-pytest >= 7.3.2
BuildRequires: python3-pytz >= 2020.1
%endif
BuildRequires: rpm-pythonprov
@@ -98,23 +95,23 @@ Dokumentacja API modułu Pythona pandas.
%prep
%setup -q -n pandas-%{version}
-%patch -P0 -p1
%patch -P1 -p1
%build
%py3_build_pyproject
%if %{with tests}
-cd build-3/lib.*
+%{__python3} -m zipfile -e build-3/*.whl build-3-test
+cd build-3-test
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS=pytest_asyncio.plugin,xdist.plugin \
-%{__python3} -m pytest pandas
-cd ../..
+PYTHONPATH=$(pwd)/build-3-test \
+%{__python3} -m pytest pandas/tests
+cd ..
%endif
%if %{with doc}
cd doc
-%{__python3} make.py --python-path=$(readlink -f ../build-3/lib.*) html
+%{__python3} make.py --python-path=$(readlink -f ../build-3-test) html
%endif
%install
@@ -123,6 +120,7 @@ rm -rf $RPM_BUILD_ROOT
%py3_install_pyproject
%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/pandas/tests
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/pandas/pyproject.toml
%clean
rm -rf $RPM_BUILD_ROOT
@@ -135,17 +133,17 @@ rm -rf $RPM_BUILD_ROOT
%{py3_sitedir}/pandas/__pycache__
%{py3_sitedir}/pandas/_config
%dir %{py3_sitedir}/pandas/_libs
-%attr(755,root,root) %{py3_sitedir}/pandas/_libs/*.cpython-*.so
+%{py3_sitedir}/pandas/_libs/*.cpython-*.so
%{py3_sitedir}/pandas/_libs/__init__.py
%{py3_sitedir}/pandas/_libs/*.py[ix]
%{py3_sitedir}/pandas/_libs/__pycache__
%dir %{py3_sitedir}/pandas/_libs/tslibs
-%attr(755,root,root) %{py3_sitedir}/pandas/_libs/tslibs/*.cpython-*.so
+%{py3_sitedir}/pandas/_libs/tslibs/*.cpython-*.so
%{py3_sitedir}/pandas/_libs/tslibs/__init__.py
%{py3_sitedir}/pandas/_libs/tslibs/*.py[ix]
%{py3_sitedir}/pandas/_libs/tslibs/__pycache__
%dir %{py3_sitedir}/pandas/_libs/window
-%attr(755,root,root) %{py3_sitedir}/pandas/_libs/window/*.cpython-*.so
+%{py3_sitedir}/pandas/_libs/window/*.cpython-*.so
%{py3_sitedir}/pandas/_libs/window/__init__.py
%{py3_sitedir}/pandas/_libs/window/*.py[ix]
%{py3_sitedir}/pandas/_libs/window/__pycache__
diff --git a/no-strict-deps.patch b/no-strict-deps.patch
deleted file mode 100644
index 7dd3256..0000000
--- a/no-strict-deps.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- pandas-2.2.3/pyproject.toml.orig 1970-01-01 01:00:00.000000000 +0100
-+++ pandas-2.2.3/pyproject.toml 2025-03-15 12:50:02.270993833 +0100
-@@ -2,8 +2,8 @@
- # Minimum requirements for the build system to execute.
- # See https://github.com/scipy/scipy/pull/12940 for the AIX issue.
- requires = [
-- "meson-python==0.13.1",
-- "meson==1.2.1",
-+ "meson-python>=0.13.1",
-+ "meson>=1.2.1",
- "wheel",
- "Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
- # Force numpy higher than 2.0, so that built wheels are compatible
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pandas.git/commitdiff/20a8385a8f11b9bdeec3b61a479d182d19f08495
More information about the pld-cvs-commit
mailing list