public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-xarray] rawhide: Adjust TestDataset.test_repr for Pandas 3.0.3
Date: Sat, 13 Jun 2026 11:13:52 GMT [thread overview]
Message-ID: <178134923210.1.17217301468567720791.rpms-python-xarray-e9a8d2cb45df@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-xarray
Branch : rawhide
Commit : e9a8d2cb45df5e81d47dfdd76245ff91abd64cd2
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-06-13T12:38:16+02:00
Stats : +26/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-xarray/c/e9a8d2cb45df5e81d47dfdd76245ff91abd64cd2?branch=rawhide
Log:
Adjust TestDataset.test_repr for Pandas 3.0.3
[skip changelog]
---
diff --git a/11384.patch b/11384.patch
new file mode 100644
index 0000000..0d23933
--- /dev/null
+++ b/11384.patch
@@ -0,0 +1,24 @@
+From ca8240081ea9585be3c2e3112014d1c9f8e1150c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Sat, 13 Jun 2026 12:35:34 +0200
+Subject: [PATCH] Adjust TestDataset.test_repr for Pandas 3.0.3
+
+Not sure if 3.0.3 is the bordering version,
+but with it, we saw a test failure in Fedora.
+---
+ xarray/tests/test_dataset.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xarray/tests/test_dataset.py b/xarray/tests/test_dataset.py
+index cd4f2c10eb2..2abab85b946 100644
+--- a/xarray/tests/test_dataset.py
++++ b/xarray/tests/test_dataset.py
+@@ -301,7 +301,7 @@ def test_repr(self) -> None:
+ var1 (dim1, dim2) float64 576B -0.9891 -0.3678 1.288 ... -0.2116 0.364
+ var2 (dim1, dim2) float64 576B 0.953 1.52 1.704 ... 0.1347 -0.6423
+ var3 (dim3, dim1) float64 640B 0.4107 0.9941 0.1665 ... 0.716 1.555
+- var4 (dim1) category 3{6 if Version(pd.__version__) >= Version("3.0.0dev0") else 2}B b c b a c a c a{var5}
++ var4 (dim1) category 3{6 if Version("3.0.3") > Version(pd.__version__) >= Version("3.0.0dev0") else 2}B b c b a c a c a{var5}
+ Attributes:
+ foo: bar"""
+ )
diff --git a/python-xarray.spec b/python-xarray.spec
index 2978bc4..94bc11b 100644
--- a/python-xarray.spec
+++ b/python-xarray.spec
@@ -19,6 +19,8 @@ Source: %pypi_source %{srcname}
Patch: 0001-Drop-pydap-from-dependencies.patch
# Fix failures with latest dependencies.
Patch: https://github.com/pydata/xarray/pull/11204.patch
+# Adjust TestDataset.test_repr for Pandas 3.0.3
+Patch: https://github.com/pydata/xarray/pull/11384.patch
BuildArch: noarch
reply other threads:[~2026-06-13 11:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178134923210.1.17217301468567720791.rpms-python-xarray-e9a8d2cb45df@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox