Source: schedule
Version: 0.6.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>       install -d /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home
>       pybuild --configure -i python{version} -p "3.10 3.9"
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
>       pybuild --build -i python{version} -p "3.10 3.9"
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/schedule
> copying schedule/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/schedule
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_schedule/build/schedule
> copying schedule/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_schedule/build/schedule
>    dh_auto_test -O--buildsystem=pybuild
>       pybuild --test -i python{version} -p "3.10 3.9"
> I: pybuild pybuild:286: cp -r /<<PKGBUILDDIR>>/test_* 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build; python3.10 -m 
> unittest discover -v 
> test_at_time (test_schedule.SchedulerTests) ... ok
> test_at_time_hour (test_schedule.SchedulerTests) ... ok
> test_at_time_minute (test_schedule.SchedulerTests) ... ok
> test_cancel_job (test_schedule.SchedulerTests) ... ok
> test_cancel_jobs (test_schedule.SchedulerTests) ... ok
> test_clear_by_tag (test_schedule.SchedulerTests) ... ERROR
> test_job_func_args_are_passed_on (test_schedule.SchedulerTests) ... ok
> test_misconfigured_job_wont_break_scheduler (test_schedule.SchedulerTests)
> Ensure an interrupted job definition chain won't break ... ok
> test_next_run_property (test_schedule.SchedulerTests) ... ok
> test_next_run_time (test_schedule.SchedulerTests) ... ok
> test_run_all (test_schedule.SchedulerTests) ... ok
> test_run_every_n_days_at_specific_time (test_schedule.SchedulerTests) ... ok
> test_run_every_weekday_at_specific_time_past_today 
> (test_schedule.SchedulerTests) ... ok
> test_run_every_weekday_at_specific_time_today (test_schedule.SchedulerTests) 
> ... ok
> test_run_pending (test_schedule.SchedulerTests)
> Check that run_pending() runs pending jobs. ... ok
> test_singular_time_units_match_plural_units (test_schedule.SchedulerTests) 
> ... ok
> test_tag_type_enforcement (test_schedule.SchedulerTests) ... ERROR
> test_time_range (test_schedule.SchedulerTests) ... ok
> test_time_range_repr (test_schedule.SchedulerTests) ... ok
> test_time_units (test_schedule.SchedulerTests) ... ok
> test_to_string (test_schedule.SchedulerTests) ... ok
> test_to_string_functools_partial_job_func (test_schedule.SchedulerTests) ... 
> ok
> test_to_string_lambda_job_func (test_schedule.SchedulerTests) ... ok
> 
> ======================================================================
> ERROR: test_clear_by_tag (test_schedule.SchedulerTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/test_schedule.py", 
> line 438, in test_clear_by_tag
>     every().second.do(make_mock_job(name='job1')).tag('tag1')
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/schedule/__init__.py",
>  line 357, in tag
>     if not all(isinstance(tag, collections.Hashable) for tag in tags):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/schedule/__init__.py",
>  line 357, in <genexpr>
>     if not all(isinstance(tag, collections.Hashable) for tag in tags):
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ======================================================================
> ERROR: test_tag_type_enforcement (test_schedule.SchedulerTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/test_schedule.py", 
> line 432, in test_tag_type_enforcement
>     self.assertRaises(TypeError, job1.tag, {})
>   File "/usr/lib/python3.10/unittest/case.py", line 738, in assertRaises
>     return context.handle('assertRaises', args, kwargs)
>   File "/usr/lib/python3.10/unittest/case.py", line 201, in handle
>     callable_obj(*args, **kwargs)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/schedule/__init__.py",
>  line 357, in tag
>     if not all(isinstance(tag, collections.Hashable) for tag in tags):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build/schedule/__init__.py",
>  line 357, in <genexpr>
>     if not all(isinstance(tag, collections.Hashable) for tag in tags):
> AttributeError: module 'collections' has no attribute 'Hashable'
> 
> ----------------------------------------------------------------------
> Ran 23 tests in 0.006s
> 
> FAILED (errors=2)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_schedule/build; python3.10 -m 
> unittest discover -v 
> I: pybuild pybuild:286: cp -r /<<PKGBUILDDIR>>/test_* 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_schedule/build
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_schedule/build; python3.9 -m unittest 
> discover -v 
> test_at_time (test_schedule.SchedulerTests) ... ok
> test_at_time_hour (test_schedule.SchedulerTests) ... ok
> test_at_time_minute (test_schedule.SchedulerTests) ... ok
> test_cancel_job (test_schedule.SchedulerTests) ... ok
> test_cancel_jobs (test_schedule.SchedulerTests) ... ok
> test_clear_by_tag (test_schedule.SchedulerTests) ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_schedule/build/schedule/__init__.py:357:
>  DeprecationWarning: Using or importing the ABCs from 'collections' instead 
> of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will 
> stop working
>   if not all(isinstance(tag, collections.Hashable) for tag in tags):
> ok
> test_job_func_args_are_passed_on (test_schedule.SchedulerTests) ... ok
> test_misconfigured_job_wont_break_scheduler (test_schedule.SchedulerTests)
> Ensure an interrupted job definition chain won't break ... ok
> test_next_run_property (test_schedule.SchedulerTests) ... ok
> test_next_run_time (test_schedule.SchedulerTests) ... ok
> test_run_all (test_schedule.SchedulerTests) ... ok
> test_run_every_n_days_at_specific_time (test_schedule.SchedulerTests) ... ok
> test_run_every_weekday_at_specific_time_past_today 
> (test_schedule.SchedulerTests) ... ok
> test_run_every_weekday_at_specific_time_today (test_schedule.SchedulerTests) 
> ... ok
> test_run_pending (test_schedule.SchedulerTests)
> Check that run_pending() runs pending jobs. ... ok
> test_singular_time_units_match_plural_units (test_schedule.SchedulerTests) 
> ... ok
> test_tag_type_enforcement (test_schedule.SchedulerTests) ... ok
> test_time_range (test_schedule.SchedulerTests) ... ok
> test_time_range_repr (test_schedule.SchedulerTests) ... ok
> test_time_units (test_schedule.SchedulerTests) ... ok
> test_to_string (test_schedule.SchedulerTests) ... ok
> test_to_string_functools_partial_job_func (test_schedule.SchedulerTests) ... 
> ok
> test_to_string_lambda_job_func (test_schedule.SchedulerTests) ... ok
> 
> ----------------------------------------------------------------------
> Ran 23 tests in 0.006s
> 
> OK
> I: pybuild pybuild:312: rm -rf 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_schedule/build/test_*
>       rm -fr -- /tmp/dh-xdg-rundir-fEi7Jrcy
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned 
> exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/schedule_0.6.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 mine
so that we can identify if something relevant changed in the meantime.

Reply via email to