Package: src:python-babel
Version: 2.16.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=pybuild --with sphinxdoc
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
running config
I: pybuild base:311: python3.12 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3.13 setup.py build 
running build

[... snipped ...]

INFO:import_cldr:Processing az_Arab_TR.xml (Language = az; Territory = TR)
INFO:import_cldr:Processing ms_Arab_BN.xml (Language = ms; Territory = BN)
INFO:import_cldr:Processing zh_Hans_MY.xml (Language = zh; Territory = MY)
INFO:import_cldr:Processing zh_Hans_SG.xml (Language = zh; Territory = SG)
INFO:import_cldr:Processing ff_Adlm_GN.xml (Language = ff; Territory = GN)
INFO:import_cldr:Processing zh_Hans_HK.xml (Language = zh; Territory = HK)
INFO:import_cldr:Processing ff_Latn_GH.xml (Language = ff; Territory = GH)
INFO:import_cldr:Processing zh_Hant_TW.xml (Language = zh; Territory = TW)
INFO:import_cldr:Processing ff_Adlm_SN.xml (Language = ff; Territory = SN)
INFO:import_cldr:Processing ff_Latn_SL.xml (Language = ff; Territory = SL)
INFO:import_cldr:Processing zh_Hant_MO.xml (Language = zh; Territory = MO)
INFO:import_cldr:Processing zh_Hans_CN.xml (Language = zh; Territory = CN)
INFO:import_cldr:Processing el_POLYTON.xml (Language = el; Territory = 001)
INFO:import_cldr:Processing en_Shaw_GB.xml (Language = en; Territory = GB)
INFO:import_cldr:Processing ff_Adlm_NE.xml (Language = ff; Territory = NE)
INFO:import_cldr:Processing az_Arab_IR.xml (Language = az; Territory = IR)
INFO:import_cldr:Processing en_Dsrt_US.xml (Language = en; Territory = US)
INFO:import_cldr:Processing ff_Adlm_NG.xml (Language = ff; Territory = NG)
INFO:import_cldr:Processing sr_Latn_BA.xml (Language = sr; Territory = BA)
INFO:import_cldr:Processing pa_Arab_PK.xml (Language = pa; Territory = PK)
INFO:import_cldr:Processing mn_Mong_CN.xml (Language = mn; Territory = CN)
INFO:import_cldr:Processing ff_Latn_LR.xml (Language = ff; Territory = LR)
INFO:import_cldr:Processing ff_Latn_MR.xml (Language = ff; Territory = MR)
INFO:import_cldr:Processing bs_Cyrl_BA.xml (Language = bs; Territory = BA)
INFO:import_cldr:Processing zh_Hans_MO.xml (Language = zh; Territory = MO)
INFO:import_cldr:Processing sr_Cyrl_ME.xml (Language = sr; Territory = ME)
INFO:import_cldr:Processing bm_Nkoo_ML.xml (Language = bm; Territory = ML)
INFO:import_cldr:Processing ff_Adlm_BF.xml (Language = ff; Territory = BF)
INFO:import_cldr:Processing bs_Latn_BA.xml (Language = bs; Territory = BA)
INFO:import_cldr:Processing sr_Latn_RS.xml (Language = sr; Territory = RS)
INFO:import_cldr:Processing kk_Cyrl_KZ.xml (Language = kk; Territory = KZ)
INFO:import_cldr:Processing iu_Latn_CA.xml (Language = iu; Territory = CA)
INFO:import_cldr:Processing ff_Adlm_CM.xml (Language = ff; Territory = CM)
INFO:import_cldr:Processing ff_Latn_GW.xml (Language = ff; Territory = GW)
INFO:import_cldr:Processing ks_Arab_IN.xml (Language = ks; Territory = IN)
INFO:import_cldr:Processing uz_Latn_UZ.xml (Language = uz; Territory = UZ)
INFO:import_cldr:Processing ff_Adlm_LR.xml (Language = ff; Territory = LR)
INFO:import_cldr:Processing az_Latn_AZ.xml (Language = az; Territory = AZ)
INFO:import_cldr:Processing hi_Latn_IN.xml (Language = hi; Territory = IN)
INFO:import_cldr:Processing sr_Cyrl_BA.xml (Language = sr; Territory = BA)
INFO:import_cldr:Processing ff_Adlm_GW.xml (Language = ff; Territory = GW)
INFO:import_cldr:Processing ha_Arab_SD.xml (Language = ha; Territory = SD)
INFO:import_cldr:Processing az_Arab_IQ.xml (Language = az; Territory = IQ)
INFO:import_cldr:Processing sr_Cyrl_RS.xml (Language = sr; Territory = RS)
INFO:import_cldr:Processing sd_Deva_IN.xml (Language = sd; Territory = IN)
INFO:import_cldr:Processing sr_Latn_ME.xml (Language = sr; Territory = ME)
INFO:import_cldr:Processing ff_Latn_SN.xml (Language = ff; Territory = SN)
INFO:import_cldr:Processing ff_Adlm_SL.xml (Language = ff; Territory = SL)
INFO:import_cldr:Processing uz_Cyrl_UZ.xml (Language = uz; Territory = UZ)
INFO:import_cldr:Processing ff_Latn_CM.xml (Language = ff; Territory = CM)
INFO:import_cldr:Processing ff_Latn_GN.xml (Language = ff; Territory = GN)
INFO:import_cldr:Processing kk_Arab_CN.xml (Language = kk; Territory = CN)
INFO:import_cldr:Processing ms_Arab_MY.xml (Language = ms; Territory = MY)
INFO:import_cldr:Processing mn_Mong_MN.xml (Language = mn; Territory = MN)
INFO:import_cldr:Processing su_Latn_ID.xml (Language = su; Territory = ID)
INFO:import_cldr:Processing ff_Adlm_GM.xml (Language = ff; Territory = GM)
INFO:import_cldr:Processing bal_Latn_PK.xml (Language = bal; Territory = PK)
INFO:import_cldr:Processing kxv_Telu_IN.xml (Language = kxv; Territory = IN)
INFO:import_cldr:Processing kxv_Latn_IN.xml (Language = kxv; Territory = IN)
INFO:import_cldr:Processing kxv_Orya_IN.xml (Language = kxv; Territory = IN)
INFO:import_cldr:Processing en_US_POSIX.xml (Language = en; Territory = US)
INFO:import_cldr:Processing kaa_Latn_UZ.xml (Language = kaa; Territory = UZ)
INFO:import_cldr:Processing kok_Latn_IN.xml (Language = kok; Territory = IN)
INFO:import_cldr:Processing rhg_Rohg_BD.xml (Language = rhg; Territory = BD)
INFO:import_cldr:Processing bal_Arab_PK.xml (Language = bal; Territory = PK)
INFO:import_cldr:Processing yue_Hant_CN.xml (Language = yue; Territory = CN)
INFO:import_cldr:Processing kaa_Cyrl_UZ.xml (Language = kaa; Territory = UZ)
INFO:import_cldr:Processing shi_Tfng_MA.xml (Language = shi; Territory = MA)
INFO:import_cldr:Processing shi_Latn_MA.xml (Language = shi; Territory = MA)
INFO:import_cldr:Processing kok_Deva_IN.xml (Language = kok; Territory = IN)
INFO:import_cldr:Processing kxv_Deva_IN.xml (Language = kxv; Territory = IN)
INFO:import_cldr:Processing vai_Latn_LR.xml (Language = vai; Territory = LR)
INFO:import_cldr:Processing mni_Beng_IN.xml (Language = mni; Territory = IN)
INFO:import_cldr:Processing sat_Deva_IN.xml (Language = sat; Territory = IN)
INFO:import_cldr:Processing rhg_Rohg_MM.xml (Language = rhg; Territory = MM)
INFO:import_cldr:Processing hnj_Hmnp_US.xml (Language = hnj; Territory = US)
INFO:import_cldr:Processing yue_Hant_HK.xml (Language = yue; Territory = HK)
INFO:import_cldr:Processing vai_Vaii_LR.xml (Language = vai; Territory = LR)
INFO:import_cldr:Processing mni_Mtei_IN.xml (Language = mni; Territory = IN)
INFO:import_cldr:Processing sat_Olck_IN.xml (Language = sat; Territory = IN)
INFO:import_cldr:Processing yue_Hans_CN.xml (Language = yue; Territory = CN)
INFO:import_cldr:Processing ca_ES_VALENCIA.xml (Language = ca; Territory = ES)
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
LC_ALL=C py.test-3
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1
collected 7227 items

babel/core.py .......................................................    [  0%]
babel/dates.py ............................                              [  1%]
babel/lists.py .                                                         [  1%]
babel/localedata.py ..                                                   [  1%]
babel/messages/catalog.py ...........                                    [  1%]
babel/messages/checkers.py .                                             [  1%]
babel/messages/extract.py ..                                             [  1%]
babel/messages/frontend.py ..                                            [  1%]
babel/messages/mofile.py .                                               [  1%]
babel/messages/plurals.py .                                              [  1%]
babel/messages/pofile.py ......                                          [  1%]
babel/numbers.py .....s...............                                   [  1%]
babel/plural.py ........                                                 [  1%]
babel/support.py ...........                                             [  2%]
babel/units.py .....                                                     [  2%]
babel/util.py ..                                                         [  2%]
tests/interop/test_jinja2_interop.py .                                   [  2%]
tests/messages/test_catalog.py ........................................  [  2%]
tests/messages/test_checkers.py ......                                   [  2%]
tests/messages/test_extract.py ........................................  [  3%]
tests/messages/test_frontend.py ........................................ [  3%]
......................                                                   [  4%]
tests/messages/test_js_extract.py ..............                         [  4%]
tests/messages/test_jslexer.py ......                                    [  4%]
tests/messages/test_mofile.py ....                                       [  4%]
tests/messages/test_normalized_string.py .                               [  4%]
tests/messages/test_plurals.py ..........                                [  4%]
tests/messages/test_pofile.py .......................................... [  5%]
..............                                                           [  5%]
tests/messages/test_setuptools_frontend.py ....                          [  5%]
tests/messages/test_toml_config.py .............                         [  5%]
tests/test_core.py ..................................................... [  6%]
........................................................................ [  7%]
........................................................................ [  8%]
........................................................................ [  9%]
........................................................................ [ 10%]
........................................................................ [ 11%]
........................................................................ [ 12%]
........................................................................ [ 13%]
........................................................................ [ 14%]
........................................................................ [ 15%]
........................................................................ [ 16%]
........................................................................ [ 17%]
........................................................................ [ 18%]
........................................................................ [ 19%]
........................................................................ [ 20%]
.................................................................        [ 21%]
tests/test_date_intervals.py F.....                                      [ 21%]
tests/test_dates.py .................................................... [ 22%]
........................................................................ [ 23%]
........................................................................ [ 24%]
........................................................................ [ 25%]
........................................................................ [ 26%]
........................................................................ [ 27%]
........................................................................ [ 28%]
........................................................................ [ 29%]
........................................................................ [ 30%]
........................................................................ [ 31%]
........................................................................ [ 32%]
........................................................................ [ 33%]
........................................................................ [ 34%]
........................................................................ [ 35%]
........................................................................ [ 36%]
............................                                             [ 36%]
tests/test_support.py ..                                                 [ 36%]
tests/test_date_intervals.py .                                           [ 36%]
tests/test_dates.py .................................................... [ 37%]
........................................................................ [ 38%]
........................................................................ [ 39%]
........................................................................ [ 40%]
........................................................................ [ 41%]
........................................................................ [ 42%]
........................................................................ [ 43%]
........................................................................ [ 44%]
........................................................................ [ 45%]
........................................................................ [ 46%]
........................................................................ [ 47%]
........................................................................ [ 48%]
........................................................................ [ 49%]
........................................................................ [ 50%]
........................................................................ [ 51%]
.........................                                                [ 51%]
tests/test_support.py ..                                                 [ 51%]
tests/test_date_intervals.py ...                                         [ 51%]
tests/test_dates.py .......................................              [ 52%]
tests/test_day_periods.py ..........                                     [ 52%]
tests/test_languages.py ..                                               [ 52%]
tests/test_lists.py ........                                             [ 52%]
tests/test_localedata.py .............s                                  [ 52%]
tests/test_localtime.py ..                                               [ 52%]
tests/test_numbers.py ..........F.F......F.............................. [ 53%]
.........................F.............................................. [ 54%]
................                                                         [ 54%]
tests/test_plural.py .............................................       [ 55%]
tests/test_smoke.py .................................................... [ 55%]
........................................................................ [ 56%]
........................................................................ [ 57%]
........................................................................ [ 58%]
........................................................................ [ 59%]
........................................................................ [ 60%]
........................................................................ [ 61%]
........................................................................ [ 62%]
........................................................................ [ 63%]
........................................................................ [ 64%]
........................................................................ [ 65%]
........................................................................ [ 66%]
........................................................................ [ 67%]
........................................................................ [ 68%]
........................................................................ [ 69%]
........................................................................ [ 70%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 76%]
........................................................................ [ 77%]
........................................................................ [ 78%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 81%]
........................................................................ [ 82%]
........................................................................ [ 83%]
........................................................................ [ 84%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 92%]
........................................................................ [ 93%]
........................................................................ [ 94%]
........................................................................ [ 95%]
........................................................................ [ 96%]
........................................................................ [ 97%]
........................................................................ [ 98%]
..................................................                       [ 99%]
tests/test_support.py ....sss.s......................                    [ 99%]
tests/test_util.py .............                                         [100%]

=================================== FAILURES ===================================
_____________________ test_format_interval_same_instant_1 ______________________

    def test_format_interval_same_instant_1():
>       assert dates.format_interval(TEST_DT, TEST_DT, "yMMMd", fuzzy=False, 
> locale="fi") == "8. tammik. 2016"
E       AssertionError: assert '8.1.2016' == '8. tammik. 2016'
E         
E         - 8. tammik. 2016
E         + 8.1.2016

tests/test_date_intervals.py:12: AssertionError
________________ NumberParsingTestCase.test_can_parse_decimals _________________

string = '1Ù¬099Ù«98', locale = Locale('ar'), strict = False

    def parse_decimal(
        string: str,
        locale: Locale | str | None = LC_NUMERIC,
        strict: bool = False,
        *,
        numbering_system: Literal["default"] | str = "latn",
    ) -> decimal.Decimal:
        """Parse localized decimal string into a decimal.
    
        >>> parse_decimal('1,099.98', locale='en_US')
        Decimal('1099.98')
        >>> parse_decimal('1.099,98', locale='de')
        Decimal('1099.98')
        >>> parse_decimal('12 345,123', locale='ru')
        Decimal('12345.123')
        >>> parse_decimal('1Ù¬099Ù«98', locale='ar_EG', 
numbering_system='default')
        Decimal('1099.98')
    
        When the given string cannot be parsed, an exception is raised:
    
        >>> parse_decimal('2,109,998', locale='de')
        Traceback (most recent call last):
            ...
        NumberFormatError: '2,109,998' is not a valid decimal number
    
        If `strict` is set to `True` and the given string contains a number
        formatted in an irregular way, an exception is raised:
    
        >>> parse_decimal('30.00', locale='de', strict=True)
        Traceback (most recent call last):
            ...
        NumberFormatError: '30.00' is not a properly formatted decimal number. 
Did you mean '3.000'? Or maybe '30,00'?
    
        >>> parse_decimal('0.00', locale='de', strict=True)
        Traceback (most recent call last):
            ...
        NumberFormatError: '0.00' is not a properly formatted decimal number. 
Did you mean '0'?
    
        :param string: the string to parse
        :param locale: the `Locale` object or locale identifier
        :param strict: controls whether numbers formatted in a weird way are
                       accepted or rejected
        :param numbering_system: The numbering system used for formatting 
number symbols. Defaults to "latn".
                                 The special value "default" will use the 
default numbering system of the locale.
        :raise NumberFormatError: if the string can not be converted to a
                                  decimal number
        :raise UnsupportedNumberingSystemError: if the numbering system is not 
supported by the locale.
        """
        locale = Locale.parse(locale)
        group_symbol = get_group_symbol(locale, 
numbering_system=numbering_system)
        decimal_symbol = get_decimal_symbol(locale, 
numbering_system=numbering_system)
    
        if not strict and (
            group_symbol in SPACE_CHARS and  # if the grouping symbol is a kind 
of space,
            group_symbol not in string and  # and the string to be parsed does 
not contain it,
            SPACE_CHARS_RE.search(string)  # but it does contain any other kind 
of space instead,
        ):
            # ... it's reasonable to assume it is taking the place of the 
grouping symbol.
            string = SPACE_CHARS_RE.sub(group_symbol, string)
    
        try:
>           parsed = decimal.Decimal(string.replace(group_symbol, '')
                                           .replace(decimal_symbol, '.'))
E                                          decimal.InvalidOperation: [<class 
'decimal.ConversionSyntax'>]

babel/numbers.py:1115: InvalidOperation

The above exception was the direct cause of the following exception:

self = <tests.test_numbers.NumberParsingTestCase 
testMethod=test_can_parse_decimals>

    def test_can_parse_decimals(self):
        assert decimal.Decimal('1099.98') == numbers.parse_decimal('1,099.98', 
locale='en_US')
        assert decimal.Decimal('1099.98') == numbers.parse_decimal('1.099,98', 
locale='de')
>       assert decimal.Decimal('1099.98') == 
> numbers.parse_decimal('1Ù¬099Ù«98', locale='ar', numbering_system="default")

tests/test_numbers.py:192: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

string = '1Ù¬099Ù«98', locale = Locale('ar'), strict = False

    def parse_decimal(
        string: str,
        locale: Locale | str | None = LC_NUMERIC,
        strict: bool = False,
        *,
        numbering_system: Literal["default"] | str = "latn",
    ) -> decimal.Decimal:
        """Parse localized decimal string into a decimal.
    
        >>> parse_decimal('1,099.98', locale='en_US')
        Decimal('1099.98')
        >>> parse_decimal('1.099,98', locale='de')
        Decimal('1099.98')
        >>> parse_decimal('12 345,123', locale='ru')
        Decimal('12345.123')
        >>> parse_decimal('1Ù¬099Ù«98', locale='ar_EG', 
numbering_system='default')
        Decimal('1099.98')
    
        When the given string cannot be parsed, an exception is raised:
    
        >>> parse_decimal('2,109,998', locale='de')
        Traceback (most recent call last):
            ...
        NumberFormatError: '2,109,998' is not a valid decimal number
    
        If `strict` is set to `True` and the given string contains a number
        formatted in an irregular way, an exception is raised:
    
        >>> parse_decimal('30.00', locale='de', strict=True)
        Traceback (most recent call last):
            ...
        NumberFormatError: '30.00' is not a properly formatted decimal number. 
Did you mean '3.000'? Or maybe '30,00'?
    
        >>> parse_decimal('0.00', locale='de', strict=True)
        Traceback (most recent call last):
            ...
        NumberFormatError: '0.00' is not a properly formatted decimal number. 
Did you mean '0'?
    
        :param string: the string to parse
        :param locale: the `Locale` object or locale identifier
        :param strict: controls whether numbers formatted in a weird way are
                       accepted or rejected
        :param numbering_system: The numbering system used for formatting 
number symbols. Defaults to "latn".
                                 The special value "default" will use the 
default numbering system of the locale.
        :raise NumberFormatError: if the string can not be converted to a
                                  decimal number
        :raise UnsupportedNumberingSystemError: if the numbering system is not 
supported by the locale.
        """
        locale = Locale.parse(locale)
        group_symbol = get_group_symbol(locale, 
numbering_system=numbering_system)
        decimal_symbol = get_decimal_symbol(locale, 
numbering_system=numbering_system)
    
        if not strict and (
            group_symbol in SPACE_CHARS and  # if the grouping symbol is a kind 
of space,
            group_symbol not in string and  # and the string to be parsed does 
not contain it,
            SPACE_CHARS_RE.search(string)  # but it does contain any other kind 
of space instead,
        ):
            # ... it's reasonable to assume it is taking the place of the 
grouping symbol.
            string = SPACE_CHARS_RE.sub(group_symbol, string)
    
        try:
            parsed = decimal.Decimal(string.replace(group_symbol, '')
                                           .replace(decimal_symbol, '.'))
        except decimal.InvalidOperation as exc:
>           raise NumberFormatError(f"{string!r} is not a valid decimal 
> number") from exc
E           babel.numbers.NumberFormatError: '1Ù¬099Ù«98' is not a valid 
decimal number

babel/numbers.py:1118: NumberFormatError
_____________________________ test_list_currencies _____________________________

    def test_list_currencies():
        assert isinstance(list_currencies(), set)
        assert list_currencies().issuperset(['BAD', 'BAM', 'KRO'])
    
        assert isinstance(list_currencies(locale='fr'), set)
        assert list_currencies('fr').issuperset(['BAD', 'BAM', 'KRO'])
    
        with pytest.raises(ValueError) as excinfo:
            list_currencies('yo!')
        assert excinfo.value.args[0] == "expected only letters, got 'yo!'"
    
        assert list_currencies(locale='pa_Arab') == {'PKR', 'INR', 'EUR'}
    
>       assert len(list_currencies()) in (305, 306)
E       AssertionError: assert 307 in (305, 306)
E        +  where 307 = len({'ADP', 'AED', 'AFA', 'AFN', 'ALK', 'ALL', ...})
E        +    where {'ADP', 'AED', 'AFA', 'AFN', 'ALK', 'ALL', ...} = 
list_currencies()

tests/test_numbers.py:253: AssertionError
________________________ test_get_currency_unit_pattern ________________________

    def test_get_currency_unit_pattern():
        assert get_currency_unit_pattern('USD', locale='en_US') == '{0} {1}'
>       assert get_currency_unit_pattern('USD', locale='es_GT') == '{1} {0}'
E       AssertionError: assert '{0} {1}' == '{1} {0}'
E         
E         - {1} {0}
E         + {0} {1}

tests/test_numbers.py:304: AssertionError
____________________ test_format_currency_long_display_name ____________________

    def test_format_currency_long_display_name():
        assert (numbers.format_currency(1099.98, 'USD', locale='en_US', 
format_type='name')
                == '1,099.98 US dollars')
        assert (numbers.format_currency(1099.98, 'USD', locale='en_US', 
format_type='name', numbering_system="default")
                == '1,099.98 US dollars')
        assert (numbers.format_currency(1099.98, 'USD', locale='ar_EG', 
format_type='name', numbering_system="default")
                == '1٬099٫98 دولار أمريكي')
        assert (numbers.format_currency(1.00, 'USD', locale='en_US', 
format_type='name')
                == '1.00 US dollar')
        assert (numbers.format_currency(1.00, 'EUR', locale='en_US', 
format_type='name')
                == '1.00 euro')
        assert (numbers.format_currency(2, 'EUR', locale='en_US', 
format_type='name')
                == '2.00 euros')
        # This tests that '{1} {0}' unitPatterns are found:
        assert (numbers.format_currency(150, 'USD', locale='sw', 
format_type='name')
                == 'dola za Marekani 150.00')
        assert (numbers.format_currency(1, 'USD', locale='sw', 
format_type='name')
                == '1.00 dola ya Marekani')
        # This tests unicode chars:
>       assert (numbers.format_currency(1099.98, 'USD', locale='es_GT', 
> format_type='name')
                == 'dólares estadounidenses 1,099.98')
E       AssertionError: assert '1,099.98 dól...tadounidenses' == 'dólares 
esta...nses 1,099.98'
E         
E         - dólares estadounidenses 1,099.98
E         + 1,099.98 dólares estadounidenses

tests/test_numbers.py:601: AssertionError
=============================== warnings summary ===============================
tests/test_dates.py::test_issue_1089
  /<<PKGBUILDDIR>>/tests/test_dates.py:757: DeprecationWarning: 
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future 
version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    assert dates.format_datetime(datetime.utcnow(), locale="ja_JP@mod")

tests/test_dates.py::test_issue_1089
  /<<PKGBUILDDIR>>/tests/test_dates.py:758: DeprecationWarning: 
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future 
version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    assert dates.format_datetime(datetime.utcnow(), 
locale=Locale.parse("ja_JP@mod"))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_date_intervals.py::test_format_interval_same_instant_1 - As...
FAILED tests/test_numbers.py::NumberParsingTestCase::test_can_parse_decimals
FAILED tests/test_numbers.py::test_list_currencies - AssertionError: assert 3...
FAILED tests/test_numbers.py::test_get_currency_unit_pattern - AssertionError...
FAILED tests/test_numbers.py::test_format_currency_long_display_name - Assert...
============ 5 failed, 7216 passed, 6 skipped, 2 warnings in 7.36s =============
make[1]: *** [debian/rules:53: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


Reply via email to