build(deps): bump babel from 2.16.0 to 2.17.0 in /docs by dependabot[bot] · Pull Request #2696 · bazel-contrib/rules_python
Bumps babel from 2.16.0 to 2.17.0.
Release notes
Sourced from babel's releases.
v2.17.0
Happy 2025! This release is being made from FOSDEM 2025, in Brussels, Belgium. 🇧🇪
Thank you to all contributors, new and old, and here's to another great year of internationalization and localization!
The changelog below is auto-generated by GitHub.
Please see CHANGELOG.rst for additional details.
What's Changed
- Fix deprecation warnings for
datetime.utcnow()by@tomasr8in python-babel/babel#1119- Enclose white spaces in references by
@Dunedanin python-babel/babel#1105- Replace
str.indexwithstr.findby@tomasr8in python-babel/babel#1130- Replace more alternate characters in
format_skeletonby@tomasr8in python-babel/babel#1122- Fix extracted lineno with nested calls by
@dylankissin python-babel/babel#1126- "Deleted duplicate code in test" by
@mattdiaz007in python-babel/babel#1138- Fix of list index out of range error in PoFileParser.add_message when translations is empty by
@gabe-shermanin python-babel/babel#1135- Make seconds optional in
parse_timetime formats by@tomasr8in python-babel/babel#1141- Mark
wraptextdeprecated; useTextWrapperdirectly inwrite_poby@akxin python-babel/babel#1140- Fix the way obsolete messages are stored by
@tomasr8in python-babel/babel#1132- Replace
OrderedDictwith justdictby@tomasr8in python-babel/babel#1149- Use CLDR 46 by
@tomasr8in python-babel/babel#1145- Update CI to use python 3.13 and Ubuntu 24.04 by
@tomasr8in python-babel/babel#1153- Adjust docs/conf.py to add compatibility with sphinx 8 by
@hrnciarin python-babel/babel#1155- Allow specifying an explicit format in parse_date/parse_time by
@tomasr8in python-babel/babel#1131- Simplify
read_mologic regardingcatalog.charsetby@tomasr8in python-babel/babel#1148- Bump CI/tool versions by
@akxin python-babel/babel#1160- fix: check_and_call_extract_file uses the first matching method and options, instead of the first matching method and last matching options by
@jpmckinneyin python-babel/babel#1121- Prevent wrapping file locations containing white space by
@tomasr8in python-babel/babel#1120- Add tzdata as dev dependency and sync with tox.ini by
@wandrew004in python-babel/babel#1159- Support short and narrow formats for format_timedelta when using
add_directionby@akxin python-babel/babel#1163- Improve handling for
locale=Noneby@akxin python-babel/babel#1164- Use
pytest.raises(match=...)by@akxin python-babel/babel#1166- Strip extra leading slashes in
/etc/localtimeby@akxin python-babel/babel#1165- Remove redundant assignment in
Catalog.__setitem__by@tomasr8in python-babel/babel#1167- Small cleanups by
@akxin python-babel/babel#1170- Small test cleanup by
@akxin python-babel/babel#1172- Add
Message.python_brace_formatby@tomasr8in python-babel/babel#1169- Import
Literalfrom the typing module by@tomasr8in python-babel/babel#1175- Prefer LC_MONETARY when formatting currencies by
@akxin python-babel/babel#1173- Fix dates formatting
Y,wandWsymbols for week-numbering by@jun66j5in python-babel/babel#1179- Increase test coverage of the
python_formatchecker by@tomasr8in python-babel/babel#1176- Prepare for 2.17.0 by
@akxin python-babel/babel#1182New Contributors
@Dunedanmade their first contribution in python-babel/babel#1105
... (truncated)
Changelog
Sourced from babel's changelog.
Version 2.17.0
Happy 2025! This release is being made from FOSDEM 2025, in Brussels, Belgium.
Thank you to all contributors, new and old, and here's to another great year of internationalization and localization!
Features
* CLDR: Babel now uses CLDR 46, by @tomasr8 in :gh:`1145` * Dates: Allow specifying an explicit format in parse_date/parse_time by @tomasr8 in :gh:`1131` * Dates: More alternate characters are now supported by `format_skeleton`. By @tomasr8 in :gh:`1122` * Dates: Support short and narrow formats for format_timedelta when using `add_direction`, by @akx in :gh:`1163` * Messages: .po files now enclose white spaces in filenames like GNU gettext does. By @Dunedan in :gh:`1105`, and @tomasr8 in :gh:`1120` * Messages: Initial support for `Message.python_brace_format`, by @tomasr8 in :gh:`1169` * Numbers: LC_MONETARY is now preferred when formatting currencies, by @akx in :gh:`1173`
Bugfixes
- Dates: Make seconds optional in
parse_timetime formats by@tomasr8in :gh:1141- Dates: Replace
str.indexwithstr.findby@tomasr8in :gh:1130- Dates: Strip extra leading slashes in
/etc/localtimeby@akxin :gh:1165- Dates: Week numbering and formatting of dates with week numbers was repaired by
@jun66j5in :gh:1179- General: Improve handling for
locale=Noneby@akxin :gh:1164- General: Remove redundant assignment in
Catalog.__setitem__by@tomasr8in :gh:1167- Messages: Fix extracted lineno with nested calls, by
@dylankissin :gh:1126- Messages: Fix of list index out of range when translations is empty, by
@gabe-shermanin :gh:1135- Messages: Fix the way obsolete messages are stored by
@tomasr8in :gh:1132- Messages: Simplify
read_mologic regardingcatalog.charsetby@tomasr8in :gh:1148- Messages: Use the first matching method & options, rather than first matching method & last options, by
@jpmckinneyin :gh:1121Deprecation and compatibility