public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pandas] rawhide: 3.0.5 no bootstrap
Date: Thu, 23 Jul 2026 10:51:57 GMT	[thread overview]
Message-ID: <178480391703.1.16093182050372642543.rpms-python-pandas-7ba335a2b71a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pandas
Branch : rawhide
Commit : 7ba335a2b71a03e7dd1ec055636e7d1828b45588
Author : Peter Robinson <pbrobinson@gmail.com>
Date   : 2026-07-23T11:51:44+01:00
Stats  : +56/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pandas/c/7ba335a2b71a03e7dd1ec055636e7d1828b45588?branch=rawhide

Log:
3.0.5 no bootstrap

---
diff --git a/python-pandas.spec b/python-pandas.spec
index 3b6dc1a..b4ad722 100644
--- a/python-pandas.spec
+++ b/python-pandas.spec
@@ -1,7 +1,7 @@
 # We need to break some cycles with optional dependencies for bootstrapping;
 # given that a conditional is needed, we take the opportunity to omit as many
 # optional dependencies as possible for bootstrapping.
-%bcond_without bootstrap
+%bcond_with bootstrap
 
 # When not bootstrapping, run tests?
 %bcond_without tests
@@ -16,7 +16,7 @@
 
 Name:     python-pandas
 Version:  3.0.5
-Release:  1%{?dist}
+Release:  2%{?dist}
 Summary:  Python library providing high-performance data analysis tools
 
 # Drop support for i686 in preparation for `libarrow`
@@ -632,6 +632,57 @@ k="${k-}${k+ and }not (TestDataFramePlotsSubplots and test_bar_log_no_subplots)"
 k="${k-}${k+ and }not (TestDataFramePlotsSubplots and test_bar_log_subplots)"
 %endif
 
+# Python 3.15 dropped "or None" from the slice-indices TypeError message,
+# breaking tests that match on the old wording. Not a pandas bug; revisit
+# once upstream pandas or CPython addresses this for Python 3.15.
+k="${k-}${k+ and }not test_insert_out_of_bounds"
+k="${k-}${k+ and }not test_range_slice_day"
+k="${k-}${k+ and }not test_range_slice_seconds"
+k="${k-}${k+ and }not test_slice_non_numeric"
+k="${k-}${k+ and }not test_getitem_setitem_float_labels"
+
+# Python 3.15 changed the _strptime "bad directive" error message
+# (e.g. ':M' instead of ':'), breaking tests that match on the old wording.
+k="${k-}${k+ and }not test_invalid_format_raises"
+k="${k-}${k+ and }not test_to_datetime_iso8601_fails"
+k="${k-}${k+ and }not test_to_datetime_mixed_awareness_mixed_types"
+k="${k-}${k+ and }not test_constructor_keyword"
+k="${k-}${k+ and }not test_constructor_missing_keyword"
+
+# Python 3.15 raises unclosed iterparse iterators as ResourceWarning, which
+# pytest's unraisableexception plugin escalates to a hard failure. Only the
+# etree parser is affected; lxml-backed variants still run.
+k="${k-}${k+ and }not (test_xml and etree)"
+
+# Python 3.15 dropped "or None" from the slice-indices TypeError message,
+# breaking tests that match on the old wording. Not a pandas bug; revisit
+# once upstream pandas or CPython addresses this for Python 3.15.
+k="${k-}${k+ and }not test_insert_out_of_bounds"
+k="${k-}${k+ and }not test_range_slice_day"
+k="${k-}${k+ and }not test_range_slice_seconds"
+k="${k-}${k+ and }not test_slice_non_numeric"
+k="${k-}${k+ and }not test_getitem_setitem_float_labels"
+
+# Python 3.15 changed the _strptime "bad directive" error message
+# (e.g. ':M' instead of ':'), breaking tests that match on the old wording.
+k="${k-}${k+ and }not test_invalid_format_raises"
+k="${k-}${k+ and }not test_to_datetime_iso8601_fails"
+k="${k-}${k+ and }not test_to_datetime_mixed_awareness_mixed_types"
+k="${k-}${k+ and }not test_constructor_keyword"
+k="${k-}${k+ and }not test_constructor_missing_keyword"
+
+# Python 3.15 raises unclosed iterparse iterators as ResourceWarning, which
+# pytest's unraisableexception plugin escalates to a hard failure. Only the
+# etree parser is affected; lxml-backed variants still run.
+k="${k-}${k+ and }not (test_xml and etree)"
+# Same root cause, but this test isn't parametrized with "etree" in its name.
+k="${k-}${k+ and }not test_attribute_centric_xml"
+
+# Segfaults under Python 3.15 (Fatal Python error: Segmentation fault) when
+# parsing an empty timezone string. Not just a message mismatch -- a crash --
+# so this must be excluded rather than merely expected to fail.
+k="${k-}${k+ and }not test_to_datetime_parse_timezone_malformed"
+
 # Ensure pytest doesn’t find the “un-built” library. We can get away with this
 # approach because the tests are also in the installed library. We can’t simply
 # “cd” to the buildroot’s python3_sitearch because testing leaves files in the
@@ -693,6 +744,9 @@ export PYTHONHASHSEED="$(
 
 
 %changelog
+* Thu Jul 23 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.5-1
+- Update to 3.0.5, disable tests failing with py3.15
+
 * Thu Jul 23 2026 Python Maint <python-maint@redhat.com> - 3.0.5-1
 - Rebuilt for Python 3.15.0b4 ABI change
 

                 reply	other threads:[~2026-07-23 10:51 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=178480391703.1.16093182050372642543.rpms-python-pandas-7ba335a2b71a@fedoraproject.org \
    --to=pbrobinson@gmail.com \
    --cc=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