Your message dated Sun, 07 Apr 2024 22:25:29 +0000
with message-id <e1rtax7-009bbf...@fasolo.debian.org>
and subject line Bug#1068104: fixed in pandas 2.1.4+dfsg-7
has caused the Debian Bug report #1068104,
regarding pandas: FTBFS on 32-bit architectures with -D_TIME_BITS=64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1068104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068104
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pandas
Version: 2.1.4+dfsg-6
Severity: serious
Tags: ftbfs patch

Hi Maintainer

pandas FTBFS on 32-bit architectures with -D_TIME_BITS=64 (e.g. armel
and armhf), due to tests expected to fail, now passing.  I've copied
what I hope are the relevant parts of the log below.

The following is my first attempt at a patch, which would pass on
armel and armhf, but fail on i386 and hurd-i386, which are not built
with -D_TIME_BITS=64.

--- a/pandas/tests/indexes/datetimes/test_ops.py
+++ b/pandas/tests/indexes/datetimes/test_ops.py
@@ -33,7 +33,7 @@
     )
     def test_resolution(self, request, tz_naive_fixture, freq, expected):
         tz = tz_naive_fixture
-        if freq == "A" and not IS64 and isinstance(tz, tzlocal):
+        if freq == "A" and isinstance(tz, tzlocal):
             request.node.add_marker(
                 pytest.mark.xfail(reason="OverflowError inside
tzlocal past 2038")
             )
--- a/pandas/tests/tseries/offsets/test_common.py
+++ b/pandas/tests/tseries/offsets/test_common.py
@@ -139,7 +139,7 @@
         if tz is not None:
             assert t.tzinfo is not None

-        if isinstance(tz, tzlocal) and not IS64 and _offset is not DateOffset:
+        if isinstance(tz, tzlocal) and _offset is not DateOffset:
             # If we hit OutOfBoundsDatetime on non-64 bit machines
             # we'll drop out of the try clause before the next test
             request.node.add_marker(

The following is my second attempt at a patch, which does not fail if
the expected test failures succeed.

--- a/pandas/tests/indexes/datetimes/test_ops.py
+++ b/pandas/tests/indexes/datetimes/test_ops.py
@@ -35,7 +35,7 @@
         tz = tz_naive_fixture
         if freq == "A" and not IS64 and isinstance(tz, tzlocal):
             request.node.add_marker(
-                pytest.mark.xfail(reason="OverflowError inside
tzlocal past 2038")
+                pytest.mark.xfail(reason="OverflowError inside
tzlocal past 2038",strict=False)
             )

         idx = date_range(start="2013-04-01", periods=30, freq=freq, tz=tz)
--- a/pandas/tests/tseries/offsets/test_common.py
+++ b/pandas/tests/tseries/offsets/test_common.py
@@ -143,7 +143,7 @@
             # If we hit OutOfBoundsDatetime on non-64 bit machines
             # we'll drop out of the try clause before the next test
             request.node.add_marker(
-                pytest.mark.xfail(reason="OverflowError inside
tzlocal past 2038")
+                pytest.mark.xfail(reason="OverflowError inside
tzlocal past 2038", strict=False)
             )
         elif (
             isinstance(tz, tzlocal)

Regards
Graham


[1] https://buildd.debian.org/status/logs.php?pkg=pandas&arch=armhf
[2] https://buildd.debian.org/status/logs.php?pkg=pandas&arch=armel


=========================== short test summary info ============================
FAILED 
pandas/tests/indexes/datetimes/test_ops.py::TestDatetimeIndexOps::test_resolution[tzlocal()-A-day]
= 1 failed, 15623 passed, 383 skipped, 5 deselected, 46 xfailed, 4
xpassed in 47.98s =
rdjoqkol test state = false

=========================== short test summary info ============================
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]
FAILED 
pandas/tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]
============ 18 failed, 5294 passed, 2 xfailed, 1 warning in 16.17s ============
rdjoqkol test state = false

--- End Message ---
--- Begin Message ---
Source: pandas
Source-Version: 2.1.4+dfsg-7
Done: Rebecca N. Palmer <rebecca_pal...@zoho.com>

We believe that the bug you reported is fixed in the latest version of
pandas, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1068...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rebecca N. Palmer <rebecca_pal...@zoho.com> (supplier of updated pandas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 05 Apr 2024 22:44:46 +0100
Source: pandas
Architecture: source
Version: 2.1.4+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Rebecca N. Palmer <rebecca_pal...@zoho.com>
Closes: 1068104
Changes:
 pandas (2.1.4+dfsg-7) unstable; urgency=medium
 .
   * Tests: don't require 32-bit to imply time32. (Closes: #1068104)
   * Temporarily disable the documentation (workaround for #1068349).
   * Tests: temporarily ignore dask tests (workaround for #1068422).
Checksums-Sha1:
 2a572eb3f663dce352d6940dc54b92a6e3f9de70 5116 pandas_2.1.4+dfsg-7.dsc
 9a8f48984b18969a0b0c9002b0dca69b8da6b3e4 78804 
pandas_2.1.4+dfsg-7.debian.tar.xz
 1d06a0a4a82f3a40e7f3b650f25c72fb14deda41 6685 
pandas_2.1.4+dfsg-7_source.buildinfo
Checksums-Sha256:
 5a58d15be1cd811ee46a401d903ba6dbdfafbc8bca00e65d752653835a60ea8a 5116 
pandas_2.1.4+dfsg-7.dsc
 13971451fcaa986c8306d81a5ca72f7c04096d384a186b4239dde8a262906c16 78804 
pandas_2.1.4+dfsg-7.debian.tar.xz
 067a7c4394cee181d2ace9682bb241e25e11121462366efd269f135875eb34d5 6685 
pandas_2.1.4+dfsg-7_source.buildinfo
Files:
 ce0d7c72487e71bcd0fba8be1b8a9b31 5116 python optional pandas_2.1.4+dfsg-7.dsc
 2ecc771da9518d80ed22822ff6ece05e 78804 python optional 
pandas_2.1.4+dfsg-7.debian.tar.xz
 dfb3f57bcd62465a17b10bb568358636 6685 python optional 
pandas_2.1.4+dfsg-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAmYTBKsYHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJmbx4P+wR6+O2W740AcOW6vfGco+Qq
vrsu76XXszhkmwKLZXDjsiAXu802Z+ZfWlZVLFC6P26I6iR60kxr5sklY7t7tNu1
egvGB0AGfp7cGII/UzOr69huPzWocfIOSB/aM2bWRfETRGqRBxeTO8nmCCi2MhHG
uC6FZhfGL0dJjh3yLtV1XSIRaSThFAx0s0N5QSIrRubv50B1FFZob3DZckqOw9pd
25PpG1c5C1GxBbops72pLuC6Vp8XOOYi/4PXFLJyaV1dR3S6RhckAvqY7rAyqVcW
jidooSX/5Um8PiEqUtBuJ+7D3+EBJG7Y7xVEK+aryVkpgjsTYOfah0/vthxPiI5y
oP3vBBUt3PB2YFz2Mhiw2pRqHIIr0udr6LRGSyusvBZP9ntWHxR3o8iZG8LuT3MW
nlxhpYZdJhkgOuo0fF5R9gkjFzqGuwMQKtsBjf+9LlR7Z4iIP2AEZPTuP3GKgevp
gvsCvejdRBwRlIeQpyLR628GbQ8JXco99M4rErcunr3/aYsiBn2fSsjZps8v2nFW
EziTj+gXwCLEEAtC2q39hALODmU5Ru5oB3hYRd3H22ljRozTGBlep1TqykWRyL1y
5h3MNl7aDyuMH9p1KG9cMDbmABxv+KS3CaST3epCTyKqrSKxlPTzMs5QE/07MbJh
cBEs5j90ybsoefIQ3zYX
=Yh8r
-----END PGP SIGNATURE-----

Attachment: pgpVGe9L8XkpS.pgp
Description: PGP signature


--- End Message ---

Reply via email to