Your message dated Sun, 02 Feb 2025 22:39:09 +0000
with message-id <e1teicp-00bm6h...@fasolo.debian.org>
and subject line Bug#1090266: fixed in python-babel 2.17.0-1
has caused the Debian Bug report #1090266,
regarding python-babel: FTBFS: AssertionError: assert '8.1.2016' == '8. tammik. 
2016'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1090266: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090266
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: python-babel
Source-Version: 2.17.0-1
Done: Alexandre Detiste <tc...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-babel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1090...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated python-babel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 02 Feb 2025 23:00:06 +0100
Source: python-babel
Architecture: source
Version: 2.17.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1090266
Changes:
 python-babel (2.17.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 2.17.0 (Closes: #1090266)
   * Refresh patches
   * Remove extraneous dependency on python3-pkg-resources
Checksums-Sha1:
 bee305d6a1cbb4ced372baf3026c9ccb992a7b14 2316 python-babel_2.17.0-1.dsc
 d069bba89a3998f1a46c62dc311b592dd303160a 310125 python-babel_2.17.0.orig.tar.gz
 2b241740cb7286a30a633478bd3a6710a79f98ac 10844 
python-babel_2.17.0-1.debian.tar.xz
 06b5c896ff119a28ed5f9b0981cda57c19905226 8562 
python-babel_2.17.0-1_source.buildinfo
Checksums-Sha256:
 71692e17193a6dc963ef0f978a1f0bbfb6f315ea103a077d3a8a700b1f7bdd28 2316 
python-babel_2.17.0-1.dsc
 a52696499d9da7860726444c170f3481dc7409398392f3500783d01c07221bbf 310125 
python-babel_2.17.0.orig.tar.gz
 d5d527b944229a5f34af3056380efe2763e832d388ed4109cf77a3a9b9149418 10844 
python-babel_2.17.0-1.debian.tar.xz
 365fd49ce3946e6dbfdc1cb5ac35f7103d11f5ce92bb2aa6da932bfe854549a4 8562 
python-babel_2.17.0-1_source.buildinfo
Files:
 23a3612e94e0d3d2a44dd4905911ff39 2316 python optional python-babel_2.17.0-1.dsc
 8c6b6ca994d735b1247c2e5df2537ecf 310125 python optional 
python-babel_2.17.0.orig.tar.gz
 ffb643f4995224dca52155d723ade8c0 10844 python optional 
python-babel_2.17.0-1.debian.tar.xz
 3b594a1e48fd43a0a449272f66e9a398 8562 python optional 
python-babel_2.17.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmef7m0RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBolfw/9EmVtrwKUiIl64lFBYcEw+3UlN0/sOZUW
FM3GgFtxtjWomUeEFOCKfkPZsoblHW7epyHoJwHeOX40jNXICgsVcI9zjdrROJ04
3QDWhgetGccqZnt72szBkI/ApYg48y1Cl1jCG4t4oXBCgCne6mOiQHmthkSAVgiL
9AXiseVACAaYsf7lY36dk2MtQ2GVQvcy28PuCiHEno7PMbyKOu66zQPObVuk41Fw
QwurKPcIRPqpmaFfa3U6FWfbxKzkM9LARv1CDUzYqRHWWD3s5hpIUxT0H4A9NEnW
oWV6Nx9I7yY/j52k8KVKi/iQGSerQNOfSz+94MYb/rHDIQqKILlA0Dmv/+ralCdE
gaUs6yeMx8SX4dtoNLIvA8CaNK1cJUKw+/apmXnY+/bkVV3eVg57otlDk36tI49o
RH54MwiYItphQXO5wgjJegrLiGwypZzzOZvQv4Z1TWin7Mc2J0knRsq3coQO7JJH
YjbFjudF1Rqf4168CulqjOmEV+AGztN/IZndNubbZ5KeSbBU9oQpRGthcO5w4mNi
xT9BydF0OpSFwTqIushp6GujTLvBpZSTVCJxj33cxLLkJRZhYftDU2Muxi+vRlaU
maTkz9SlTlmMwve4RWRMyluy3yC/1SM8+rFKXbKu2FQUbFhPln3HiWxX4/4LuQ/H
rPlSg0cfknw=
=zRRP
-----END PGP SIGNATURE-----

Attachment: pgpJqNAH1Pj8v.pgp
Description: PGP signature


--- End Message ---

Reply via email to