Source: tqdm
Version: 4.51.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/autonotebook.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_monitor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/keras.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/notebook.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/std.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/gui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_tqdm_pandas.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/asyncio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_tqdm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/auto.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_tqdm_notebook.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/_tqdm_gui.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/bells.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/concurrent.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/telegram.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/discord.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/itertools.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/contrib/utils_worker.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/contrib
> copying tqdm/tqdm.1 -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
> copying tqdm/completion.sh -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest --verbose -k 'not test_comppath and not test_imap and not 
> test_manpath'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0 -- 
> /usr/bin/python3.9
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collecting ... collected 105 items / 3 deselected / 102 selected
> 
> tests/tests_asyncio.py::test_generators <- 
> .pybuild/cpython3_3.9/build/tests/py37_asyncio.py PASSED [  0%]
> tests/tests_asyncio.py::test_range <- 
> .pybuild/cpython3_3.9/build/tests/py37_asyncio.py FAILED [  1%]
> tests/tests_asyncio.py::test_nested <- 
> .pybuild/cpython3_3.9/build/tests/py37_asyncio.py PASSED [  2%]
> tests/tests_asyncio.py::test_coroutines <- 
> .pybuild/cpython3_3.9/build/tests/py37_asyncio.py PASSED [  3%]
> tests/tests_asyncio.py::test_as_completed <- 
> .pybuild/cpython3_3.9/build/tests/py37_asyncio.py PASSED [  4%]
> tests/tests_concurrent.py::test_thread_map PASSED                        [  
> 5%]
> tests/tests_concurrent.py::test_process_map PASSED                       [  
> 6%]
> tests/tests_concurrent.py::test_chunksize_warning PASSED                 [  
> 7%]
> tests/tests_contrib.py::test_enumerate PASSED                            [  
> 8%]
> tests/tests_contrib.py::test_enumerate_numpy PASSED                      [  
> 9%]
> tests/tests_contrib.py::test_zip PASSED                                  [ 
> 10%]
> tests/tests_contrib.py::test_map PASSED                                  [ 
> 11%]
> tests/tests_itertools.py::test_product PASSED                            [ 
> 12%]
> tests/tests_keras.py::test_keras SKIPPED                                 [ 
> 13%]
> tests/tests_main.py::test_pipes PASSED                                   [ 
> 14%]
> tests/tests_main.py::test_main PASSED                                    [ 
> 15%]
> tests/tests_main.py::test_exceptions PASSED                              [ 
> 16%]
> tests/tests_notebook.py::test_notebook_disabled_description PASSED       [ 
> 17%]
> tests/tests_pandas.py::test_pandas_setup PASSED                          [ 
> 18%]
> tests/tests_pandas.py::test_pandas_rolling_expanding PASSED              [ 
> 19%]
> tests/tests_pandas.py::test_pandas_series PASSED                         [ 
> 20%]
> tests/tests_pandas.py::test_pandas_data_frame PASSED                     [ 
> 21%]
> tests/tests_pandas.py::test_pandas_groupby_apply PASSED                  [ 
> 22%]
> tests/tests_pandas.py::test_pandas_leave PASSED                          [ 
> 23%]
> tests/tests_pandas.py::test_pandas_apply_args_deprecation PASSED         [ 
> 24%]
> tests/tests_pandas.py::test_pandas_deprecation PASSED                    [ 
> 25%]
> tests/tests_perf.py::test_iter_basic_overhead PASSED                     [ 
> 26%]
> tests/tests_perf.py::test_manual_basic_overhead PASSED                   [ 
> 27%]
> tests/tests_perf.py::test_lock_args PASSED                               [ 
> 28%]
> tests/tests_perf.py::test_iter_overhead_hard PASSED                      [ 
> 29%]
> tests/tests_perf.py::test_manual_overhead_hard PASSED                    [ 
> 30%]
> tests/tests_perf.py::test_iter_overhead_simplebar_hard PASSED            [ 
> 31%]
> tests/tests_perf.py::test_manual_overhead_simplebar_hard PASSED          [ 
> 32%]
> tests/tests_synchronisation.py::test_monitor_thread PASSED               [ 
> 33%]
> tests/tests_synchronisation.py::test_monitoring_and_cleanup PASSED       [ 
> 34%]
> tests/tests_synchronisation.py::test_monitoring_multi PASSED             [ 
> 35%]
> tests/tests_synchronisation.py::test_threadpool PASSED                   [ 
> 36%]
> tests/tests_tqdm.py::test_format_interval PASSED                         [ 
> 37%]
> tests/tests_tqdm.py::test_format_num PASSED                              [ 
> 38%]
> tests/tests_tqdm.py::test_format_meter PASSED                            [ 
> 39%]
> tests/tests_tqdm.py::test_ansi_escape_codes PASSED                       [ 
> 40%]
> tests/tests_tqdm.py::test_si_format PASSED                               [ 
> 41%]
> tests/tests_tqdm.py::test_bar_formatspec PASSED                          [ 
> 42%]
> tests/tests_tqdm.py::test_all_defaults PASSED                            [ 
> 43%]
> tests/tests_tqdm.py::test_native_string_io_for_default_file PASSED       [ 
> 44%]
> tests/tests_tqdm.py::test_unicode_string_io_for_specified_file PASSED    [ 
> 45%]
> tests/tests_tqdm.py::test_write_bytes PASSED                             [ 
> 46%]
> tests/tests_tqdm.py::test_iterate_over_csv_rows PASSED                   [ 
> 47%]
> tests/tests_tqdm.py::test_file_output PASSED                             [ 
> 48%]
> tests/tests_tqdm.py::test_leave_option PASSED                            [ 
> 49%]
> tests/tests_tqdm.py::test_trange PASSED                                  [ 
> 50%]
> tests/tests_tqdm.py::test_min_interval PASSED                            [ 
> 50%]
> tests/tests_tqdm.py::test_max_interval PASSED                            [ 
> 51%]
> tests/tests_tqdm.py::test_min_iters PASSED                               [ 
> 52%]
> tests/tests_tqdm.py::test_dynamic_min_iters PASSED                       [ 
> 53%]
> tests/tests_tqdm.py::test_big_min_interval PASSED                        [ 
> 54%]
> tests/tests_tqdm.py::test_smoothed_dynamic_min_iters PASSED              [ 
> 55%]
> tests/tests_tqdm.py::test_smoothed_dynamic_min_iters_with_min_interval PASSED 
> [ 56%]
> tests/tests_tqdm.py::test_rlock_creation PASSED                          [ 
> 57%]
> tests/tests_tqdm.py::test_disable PASSED                                 [ 
> 58%]
> tests/tests_tqdm.py::test_infinite_total PASSED                          [ 
> 59%]
> tests/tests_tqdm.py::test_nototal PASSED                                 [ 
> 60%]
> tests/tests_tqdm.py::test_unit PASSED                                    [ 
> 61%]
> tests/tests_tqdm.py::test_ascii PASSED                                   [ 
> 62%]
> tests/tests_tqdm.py::test_update PASSED                                  [ 
> 63%]
> tests/tests_tqdm.py::test_close PASSED                                   [ 
> 64%]
> tests/tests_tqdm.py::test_smoothing PASSED                               [ 
> 65%]
> tests/tests_tqdm.py::test_deprecated_nested PASSED                       [ 
> 66%]
> tests/tests_tqdm.py::test_bar_format PASSED                              [ 
> 67%]
> tests/tests_tqdm.py::test_custom_format PASSED                           [ 
> 68%]
> tests/tests_tqdm.py::test_eta PASSED                                     [ 
> 69%]
> tests/tests_tqdm.py::test_unpause PASSED                                 [ 
> 70%]
> tests/tests_tqdm.py::test_reset PASSED                                   [ 
> 71%]
> tests/tests_tqdm.py::test_position PASSED                                [ 
> 72%]
> tests/tests_tqdm.py::test_set_description PASSED                         [ 
> 73%]
> tests/tests_tqdm.py::test_deprecated_gui PASSED                          [ 
> 74%]
> tests/tests_tqdm.py::test_cmp PASSED                                     [ 
> 75%]
> tests/tests_tqdm.py::test_repr PASSED                                    [ 
> 76%]
> tests/tests_tqdm.py::test_clear PASSED                                   [ 
> 77%]
> tests/tests_tqdm.py::test_clear_disabled PASSED                          [ 
> 78%]
> tests/tests_tqdm.py::test_refresh PASSED                                 [ 
> 79%]
> tests/tests_tqdm.py::test_disabled_refresh PASSED                        [ 
> 80%]
> tests/tests_tqdm.py::test_write PASSED                                   [ 
> 81%]
> tests/tests_tqdm.py::test_len PASSED                                     [ 
> 82%]
> tests/tests_tqdm.py::test_autodisable_disable PASSED                     [ 
> 83%]
> tests/tests_tqdm.py::test_autodisable_enable PASSED                      [ 
> 84%]
> tests/tests_tqdm.py::test_deprecation_exception PASSED                   [ 
> 85%]
> tests/tests_tqdm.py::test_postfix PASSED                                 [ 
> 86%]
> tests/tests_tqdm.py::test_postfix_direct PASSED                          [ 
> 87%]
> tests/tests_tqdm.py::test_file_redirection PASSED                        [ 
> 88%]
> tests/tests_tqdm.py::test_external_write PASSED                          [ 
> 89%]
> tests/tests_tqdm.py::test_unit_scale PASSED                              [ 
> 90%]
> tests/tests_tqdm.py::test_threading PASSED                               [ 
> 91%]
> tests/tests_tqdm.py::test_bool PASSED                                    [ 
> 92%]
> tests/tests_tqdm.py::test_auto PASSED                                    [ 
> 93%]
> tests/tests_tqdm.py::test_wrapattr PASSED                                [ 
> 94%]
> tests/tests_tqdm.py::test_float_progress PASSED                          [ 
> 95%]
> tests/tests_tqdm.py::test_screen_shape PASSED                            [ 
> 96%]
> tests/tests_tqdm.py::test_initial PASSED                                 [ 
> 97%]
> tests/tests_tqdm.py::test_colour PASSED                                  [ 
> 98%]
> tests/tests_tqdm.py::test_closed PASSED                                  [ 
> 99%]
> tests/tests_version.py::test_version PASSED                              
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________________________ test_range 
> __________________________________
> tqdm/asyncio.py:41: in __anext__
>     res = self.iterable_next()
> E   StopIteration
> 
> During handling of the above exception, another exception occurred:
> tests/py37_asyncio.py:57: in test_range
>     async for _ in tqdm(range(9), desc="range", file=our_file):
> tqdm/asyncio.py:45: in __anext__
>     self.close()
> tqdm/std.py:1318: in close
>     self._decr_instances(self)
> tqdm/std.py:605: in _decr_instances
>     instances = list(filter(
> /usr/lib/python3.9/_weakrefset.py:61: in __iter__
>     for itemref in self.data:
> E   RuntimeError: Set changed size during iteration
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_setup
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_rolling_expanding
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_series
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_data_frame
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_groupby_apply
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_leave
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_apply_args_deprecation
> .pybuild/cpython3_3.9/build/tests/tests_pandas.py::test_pandas_deprecation
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tqdm/std.py:703: 
> FutureWarning: The Panel class is removed from pandas. Accessing it from the 
> top-level namespace will also be removed in the next version
>     from pandas import Panel
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/tests_asyncio.py::test_range - RuntimeError: Set changed size 
> du...
> ===== 1 failed, 100 passed, 1 skipped, 3 deselected, 8 warnings in 15.89s 
> ======
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest --verbose 
> -k 'not test_comppath and not test_imap and not test_manpath'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/tqdm_4.51.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to