[Python-modules-team] Bug#982706: python-holidays: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Feb 13 17:07:04 GMT 2021


Source: python-holidays
Version: 0.10.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210213 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} tests.py" dh_auto_test
> I: pybuild base:232: python3.9 tests.py
> ................................................................................................................................................................................./<<PKGBUILDDIR>>/holidays/countries/egypt.py: Error estimating Islamic Holidays.To estimate, install hijri-converter library
> /<<PKGBUILDDIR>>/holidays/countries/egypt.py: pip install -U hijri-converter
> /<<PKGBUILDDIR>>/holidays/countries/egypt.py: (see https://hijri-converter.readthedocs.io/ )
> ................................................................................EE........................................................................................................................./<<PKGBUILDDIR>>/holidays/countries/singapore.py: Hari Raja Puasa is missing.To estimate, install hijri-converter library
> /<<PKGBUILDDIR>>/holidays/countries/singapore.py: pip install -U hijri-converter
> /<<PKGBUILDDIR>>/holidays/countries/singapore.py: (see https://hijri-converter.readthedocs.io/ )
> /<<PKGBUILDDIR>>/holidays/countries/singapore.py: Hari Raja Haji is missing.To estimate, install hijri-converter library
> /<<PKGBUILDDIR>>/holidays/countries/singapore.py: pip install -U hijri-converter
> /<<PKGBUILDDIR>>/holidays/countries/singapore.py: (see https://hijri-converter.readthedocs.io/ )
> ......................................................................................................................
> ======================================================================
> ERROR: test_independence_day (__main__.TestIsrael)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests.py", line 5862, in test_independence_day
>     self._test_observed_holidays('Independence Day')
>   File "/<<PKGBUILDDIR>>/tests.py", line 5868, in _test_observed_holidays
>     il_holidays = holidays.IL(years=[2017], observed=True)
>   File "/<<PKGBUILDDIR>>/holidays/countries/israel.py", line 25, in __init__
>     HolidayBase.__init__(self, **kwargs)
>   File "/<<PKGBUILDDIR>>/holidays/holiday_base.py", line 34, in __init__
>     self._populate(year)
>   File "/<<PKGBUILDDIR>>/holidays/countries/israel.py", line 32, in _populate
>     year, month, day = hebrew.to_jd_gregorianyear(year, hebrew.NISAN, 14)
> TypeError: cannot unpack non-iterable float object
> 
> ======================================================================
> ERROR: test_memorial_day (__main__.TestIsrael)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests.py", line 5859, in test_memorial_day
>     self._test_observed_holidays('Memorial Day')
>   File "/<<PKGBUILDDIR>>/tests.py", line 5868, in _test_observed_holidays
>     il_holidays = holidays.IL(years=[2017], observed=True)
>   File "/<<PKGBUILDDIR>>/holidays/countries/israel.py", line 25, in __init__
>     HolidayBase.__init__(self, **kwargs)
>   File "/<<PKGBUILDDIR>>/holidays/holiday_base.py", line 34, in __init__
>     self._populate(year)
>   File "/<<PKGBUILDDIR>>/holidays/countries/israel.py", line 32, in _populate
>     year, month, day = hebrew.to_jd_gregorianyear(year, hebrew.NISAN, 14)
> TypeError: cannot unpack non-iterable float object
> 
> ----------------------------------------------------------------------
> Ran 498 tests in 4.666s
> 
> FAILED (errors=2)
> E: pybuild pybuild:353: test: plugin custom failed with: exit code=1: python3.9 tests.py
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2021/02/13/python-holidays_0.10.1-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.



More information about the Python-modules-team mailing list