#1114885 tqdm: FTBFS on pandas 2.3 warnings

Package:
python3-tqdm
Source:
python3-tqdm
Submitter:
Rebecca N. Palmer
Date:
2025-09-18 13:07:02 UTC
Severity:
normal
Tags:
#1114885#5
Date:
2025-09-11 07:34:38 UTC
From:
To:
With pandas 2.3 (currently in experimental, but I'd like to upload it
to unstable soon), tqdm FTBFS because it has fail-on-warning tests:
https://launchpadlibrarian.net/815545434/buildlog_ubuntu-questing-amd64.tqdm_4.67.1-5_BUILDING.txt.gz

The warning in question (that apply() is going to stop including the
group-key column(s)) appears unrelated to tqdm adding a progress bar,
so the obvious solution is to ignore it:
--- a/tests/tests_pandas.py
+++ b/tests/tests_pandas.py
@@ -117,6 +117,8 @@ def test_pandas_data_frame():

 @mark.filterwarnings(
     "ignore:DataFrameGroupBy.apply operated on the grouping columns:DeprecationWarning")
+@mark.filterwarnings(
+    "ignore:DataFrameGroupBy.apply operated on the grouping columns:FutureWarning")
 def test_pandas_groupby_apply():
     """Test pandas.DataFrame.groupby(...).progress_apply"""
     with closing(StringIO()) as our_file:
@@ -171,6 +173,8 @@ def test_pandas_groupby_apply():

 @mark.filterwarnings(
     "ignore:DataFrameGroupBy.apply operated on the grouping columns:DeprecationWarning")
+@mark.filterwarnings(
+    "ignore:DataFrameGroupBy.apply operated on the grouping columns:FutureWarning")
 def test_pandas_leave():
     """Test pandas with `leave=True`"""
     with closing(StringIO()) as our_file:
@@ -207,6 +211,8 @@ def test_pandas_apply_args_deprecation()

 @mark.filterwarnings(
     "ignore:DataFrameGroupBy.apply operated on the grouping columns:DeprecationWarning")
+@mark.filterwarnings(
+    "ignore:DataFrameGroupBy.apply operated on the grouping columns:FutureWarning")
 def test_pandas_deprecation():
     """Test bar object instance as argument deprecation"""
     try:

#1114885#12
Date:
2025-09-18 13:05:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tqdm, 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 1114885@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated tqdm 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 18 Sep 2025 14:48:34 +0200
Source: tqdm
Architecture: source
Version: 4.67.1-6
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Closes: 1114885
Changes:
 tqdm (4.67.1-6) sid; urgency=medium
 .
   * Adding patch from Rebecca N. Palmer <rebecca_palmer@zoho.com> to
     ignore warnings in test with pandas 2.3 to fix FTBFS (Closes:
     #1114885).
Checksums-Sha1:
 bbbd023a76dbfa11393e2da8687ac70dd8ba69f3 1482 tqdm_4.67.1-6.dsc
 220d0d523f96b46c0503d5d9d9a8cb28dd435383 5140 tqdm_4.67.1-6.debian.tar.xz
 f14e0ce664e7a3e754f6cc9cbdc11228b3a88c63 7674 tqdm_4.67.1-6_amd64.buildinfo
Checksums-Sha256:
 dae770ab59f449302f67345a02dceb5469cabdccc6d5ad555afe89dab7da4577 1482 tqdm_4.67.1-6.dsc
 8494161079041ad9ae15fd8caf9cb7271aff5dc63b12d0e8e96718bb7e53b59f 5140 tqdm_4.67.1-6.debian.tar.xz
 18a7e77f5ea80f827ea9b8d7fb77fde6c06ec0b0e47aad9da38c7eb15a594200 7674 tqdm_4.67.1-6_amd64.buildinfo
Files:
 39fe602e4f47b4a74139380ca8934349 1482 python optional tqdm_4.67.1-6.dsc
 fb625a1b70550cf8fafd067be416893b 5140 python optional tqdm_4.67.1-6.debian.tar.xz
 b79f230a402d86d835908ed9933331c4 7674 python optional tqdm_4.67.1-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaMwBGwAKCRD7tPDoCoAi
LyyHAQCezSzDG85XyVzYIFjV1SXCKS1QAuABefrbvijPRY8CNgEAwuEcOHRSoEBW
WSreiqGUHZCXeT4kLbxsffdU01W8KAQ=
=5dcC
-----END PGP SIGNATURE-----