Your message dated Sun, 10 Dec 2023 09:00:19 +0000
with message-id <e1rcfff-008pvb...@fasolo.debian.org>
and subject line Bug#1056538: fixed in python-tz 2023.3.post1-2
has caused the Debian Bug report #1056538,
regarding wtforms autopkg tests fail with Python 3.12
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.)
--
1056538: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056538
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:wtforms
Version: 3.0.1-2
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
wtforms autopkg tests fail with Python 3.12:
[...]
194s =================================== FAILURES
===================================
194s ______________________ TestLocaleDecimal.test_formatting
_______________________
194s
194s self = <tests.test_locale_babel.TestLocaleDecimal object at
0x7f4126836d50>
194s
194s def test_formatting(self):
194s val = Decimal("123456.789")
194s neg = Decimal("-5.2")
194s > self._format_test("1,23,456.789", val)
194s
194s tests/test_locale_babel.py:46:
194s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
194s tests/test_locale_babel.py:24: in _format_test
194s assert form.a._value() == expected
194s /usr/lib/python3/dist-packages/wtforms/fields/numeric.py:138: in _value
194s return str(self._format_decimal(self.data))
194s /usr/lib/python3/dist-packages/wtforms/fields/numeric.py:52: in
_format_decimal
194s return self.babel_numbers.format_decimal(value,
self.number_format, self.locale)
194s /usr/lib/python3/dist-packages/babel/numbers.py:422: in format_decimal
194s format = locale.decimal_formats.get(format)
194s /usr/lib/python3/dist-packages/babel/core.py:565: in decimal_formats
194s return self._data['decimal_formats']
194s /usr/lib/python3/dist-packages/babel/core.py:363: in _data
194s self.__data = localedata.LocaleDataDict(localedata.load(str(self)))
194s /usr/lib/python3/dist-packages/babel/localedata.py:140: in load
194s data = load(parent).copy()
194s /usr/lib/python3/dist-packages/babel/localedata.py:140: in load
194s data = load(parent).copy()
194s /usr/lib/python3/dist-packages/babel/localedata.py:146: in load
194s data = pickle.load(fileobj)
194s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
194s
194s """
194s babel.dates
194s ~~~~~~~~~~~
194s
194s Locale dependent formatting and parsing of dates and times.
194s
194s The default locale for the functions in this module is
determined by the
194s following environment variables, in that order:
194s
194s * ``LC_TIME``,
194s * ``LC_ALL``, and
194s * ``LANG``
194s
194s :copyright: (c) 2013-2022 by the Babel Team.
194s :license: BSD, see LICENSE for more details.
194s """
194s
194s
194s import re
194s import warnings
194s > import pytz as _pytz
194s E File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 30
194s E match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
194s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
194s E SyntaxError: invalid escape sequence '\s'
194s
194s /usr/lib/python3/dist-packages/babel/dates.py:21: SyntaxError
194s ________________________ TestLocaleDecimal.test_parsing
________________________
194s
194s self = <tests.test_locale_babel.TestLocaleDecimal object at
0x7f4126836db0>
194s
194s def test_parsing(self):
194s expected = Decimal("123456.789")
194s > self._parse_test("1,23,456.789", expected)
194s
194s tests/test_locale_babel.py:77:
194s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
194s tests/test_locale_babel.py:59: in _parse_test
194s form = self.F(DummyPostData(a=raw_val), meta=meta)
194s /usr/lib/python3/dist-packages/wtforms/form.py:208: in __call__
194s return type.__call__(cls, *args, **kwargs)
194s /usr/lib/python3/dist-packages/wtforms/form.py:286: in __init__
194s self.process(formdata, obj, data=data, **kwargs)
194s /usr/lib/python3/dist-packages/wtforms/form.py:127: in process
194s field.process(formdata, data, extra_filters=field_extra_filters)
194s /usr/lib/python3/dist-packages/wtforms/fields/core.py:328: in process
194s self.process_formdata(self.raw_data)
194s /usr/lib/python3/dist-packages/wtforms/fields/numeric.py:162: in
process_formdata
194s self.data = self._parse_decimal(valuelist[0])
194s /usr/lib/python3/dist-packages/wtforms/fields/numeric.py:49: in
_parse_decimal
194s return self.babel_numbers.parse_decimal(value, self.locale)
194s /usr/lib/python3/dist-packages/babel/numbers.py:732: in parse_decimal
194s group_symbol = get_group_symbol(locale)
194s /usr/lib/python3/dist-packages/babel/numbers.py:335: in
get_group_symbol
194s return Locale.parse(locale).number_symbols.get('group', u',')
194s /usr/lib/python3/dist-packages/babel/core.py:553: in number_symbols
194s return self._data['number_symbols']
194s /usr/lib/python3/dist-packages/babel/core.py:363: in _data
194s self.__data = localedata.LocaleDataDict(localedata.load(str(self)))
194s /usr/lib/python3/dist-packages/babel/localedata.py:140: in load
194s data = load(parent).copy()
194s /usr/lib/python3/dist-packages/babel/localedata.py:140: in load
194s data = load(parent).copy()
194s /usr/lib/python3/dist-packages/babel/localedata.py:146: in load
194s data = pickle.load(fileobj)
194s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
194s
194s """
194s babel.dates
194s ~~~~~~~~~~~
194s
194s Locale dependent formatting and parsing of dates and times.
194s
194s The default locale for the functions in this module is
determined by the
194s following environment variables, in that order:
194s
194s * ``LC_TIME``,
194s * ``LC_ALL``, and
194s * ``LANG``
194s
194s :copyright: (c) 2013-2022 by the Babel Team.
194s :license: BSD, see LICENSE for more details.
194s """
194s
194s
194s import re
194s import warnings
194s > import pytz as _pytz
194s E File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 30
194s E match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
194s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
194s E SyntaxError: invalid escape sequence '\s'
194s
194s /usr/lib/python3/dist-packages/babel/dates.py:21: SyntaxError
194s =========================== short test summary info
============================
194s FAILED
tests/test_locale_babel.py::TestLocaleDecimal::test_formatting - Fil...
194s FAILED tests/test_locale_babel.py::TestLocaleDecimal::test_parsing
- File "...
194s ======================== 2 failed, 336 passed in 0.88s
=========================
--- End Message ---
--- Begin Message ---
Source: python-tz
Source-Version: 2023.3.post1-2
Done: Alastair McKinstry <mckins...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-tz, 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 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated python-tz
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: SHA256
Format: 1.8
Date: Sun, 10 Dec 2023 08:14:00 +0000
Source: python-tz
Architecture: source
Version: 2023.3.post1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Closes: 1056246 1056538
Changes:
python-tz (2023.3.post1-2) unstable; urgency=medium
.
* Treat regex match string as raw. Closes: #1056538, #1056246
Checksums-Sha1:
2d4e52cbbd728d3c9c0cc6351902867f29ec7ccd 2256 python-tz_2023.3.post1-2.dsc
90117c419d05af198ebb3aff25abcfcb96dd2eae 13992
python-tz_2023.3.post1-2.debian.tar.xz
Checksums-Sha256:
1006198cdeb11cd638415b1cc85d739870f45cd15e85b0665c76a2ec3d7f16fa 2256
python-tz_2023.3.post1-2.dsc
036c1444812f17d3f69f89c5f3ee1262a0c0d44cae06d4c351afb312dfe69b32 13992
python-tz_2023.3.post1-2.debian.tar.xz
Files:
f8f4441a97eb68d705fc9fbf815a2c8c 2256 python optional
python-tz_2023.3.post1-2.dsc
9051cd515232f89f0905e0237f68b1f6 13992 python optional
python-tz_2023.3.post1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmV1dN4ACgkQy+a7Tl2a
06UzKg//ZKIiQYyJN+QY1NBu00kKpISXhrBQrC9r9rHsPxEFHO/0pdFMSkPeJ8Hg
u+LdZDygiLUAGD2MbFXV/utMAjvrS/S925MQaI0I+YO4fkQ9D/3rx/EdKGVjOgOX
czv9taD+enidylDHR0RA8tB1QHFMZ9QH5vhB7UYV52WhU5qUuM+priDqiQPjlZku
o1dTsWB6KJt47nmHzoTzCrTHrg9tzYkMhdbU9s34V3rGgBA/zN6QBXAYBqe1toaQ
BD2G5/YO015Pguv3J6I9GZEvkG1Pd62CfaQXWiIL6tCTnROkJWy8cUGxhe2nJJF3
O2rQ9+YLuCq3yHnnbdBuh05PjbNGe9snhCq5l5WANFRdHmmRWExC4FhgMJ1tGGUV
W2yFfq9qQXiPUzOpYHsHfAHpmbojF/9fGezIF4chPwR5FGjOLSW8k1gU7d7oZeHO
Ib9TXLWRkDg78KMZN9qjcmsPg1fW+2y15U7aY0SCyjTW6yiPLYgy/MKZXO7VI9RT
uGGokXeFrB3Va2NtFZ9DxsYQqnRkC2SMShA6nYQ5mt2vRvcwU0QQLzpE7fSxmOME
uRfUc+LxttEGLMcsVhGN1Oxgxblwbd8UCISERacnM14ru8+w1oKoQ18r7toAjmWk
DOg0FRbDmMey8UGR0rh+hYEFcuFCp5IqR4k3uiayhZysl4oyn+c=
=qxFL
-----END PGP SIGNATURE-----
--- End Message ---