gnu: python-pandas-2: Fix test with new tzdata.

Fixes: guix/guix#1025

* gnu/packages/patches/python-pandas-2-no-pytz_datetime.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-science.scm (python-pandas-2): Use it.

Change-Id: I0e3689c28f11a5f69362caf0e31890a5efe6febe
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Zheng Junjie 2025-07-06 15:41:22 +08:00 committed by Andreas Enge
parent 36755581c1
commit 155ec6bc4f
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
3 changed files with 50 additions and 1 deletions

View file

@ -3167,7 +3167,8 @@ doing practical, real world data analysis in Python.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "00f6jnplwg7iffnxdm4hpfls0ncbarc23933xq1rm5nk5g8dcldx"))))
(base32 "00f6jnplwg7iffnxdm4hpfls0ncbarc23933xq1rm5nk5g8dcldx"))
(patches (search-patches "python-pandas-2-no-pytz_datetime.patch"))))
(build-system pyproject-build-system)
(arguments
(list