Package: python3-tqdm Version: 4.67.1-5 Tags: patch Control: block 1111280 by -1 Severity: important
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") [email protected]( + "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") [email protected]( + "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") [email protected]( + "ignore:DataFrameGroupBy.apply operated on the grouping columns:FutureWarning") def test_pandas_deprecation(): """Test bar object instance as argument deprecation""" try:

