← Back to issue list

build(deps): update dependency babel to v2.17.0 (main)

View original Github issue

Metadata

Project
snapcraft
Number
#5295
Type
pull request
State
merged
Author
renovate[bot]
Labels
β€”
Created
Updated
Closed

Current evaluation

Renovate updated Babel from 2.11.0 to 2.17.0; PR #5295 was approved and merged into main as commit 8f7bd56a4.

Resolution: closed resolved

Reason: The one-line Babel dependency update passed review and was merged into main by PR #5295 in commit 8f7bd56a4.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Babel](https://babel.pocoo.org/) ([source](https://redirect.github.com/python-babel/babel)) | `==2.11.0` -> `==2.17.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/babel/2.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/babel/2.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/babel/2.11.0/2.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/babel/2.11.0/2.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>python-babel/babel (Babel)</summary> ### [`v2.17.0`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2170) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.16.0...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! Features ``` * CLDR: Babel now uses CLDR 46, by @&#8203;tomasr8 in :gh:`1145` * Dates: Allow specifying an explicit format in parse_date/parse_time by @&#8203;tomasr8 in :gh:`1131` * Dates: More alternate characters are now supported by `format_skeleton`. By @&#8203;tomasr8 in :gh:`1122` * Dates: Support short and narrow formats for format_timedelta when using `add_direction`, by @&#8203;akx in :gh:`1163` * Messages: .po files now enclose white spaces in filenames like GNU gettext does. By @&#8203;Dunedan in :gh:`1105`, and @&#8203;tomasr8 in :gh:`1120` * Messages: Initial support for `Message.python_brace_format`, by @&#8203;tomasr8 in :gh:`1169` * Numbers: LC_MONETARY is now preferred when formatting currencies, by @&#8203;akx in :gh:`1173` Bugfixes ``` - Dates: Make seconds optional in `parse_time` time formats by [@&#8203;tomasr8](https://redirect.github.com/tomasr8) in :gh:`1141` - Dates: Replace `str.index` with `str.find` by [@&#8203;tomasr8](https://redirect.github.com/tomasr8) in :gh:`1130` - Dates: Strip extra leading slashes in `/etc/localtime` by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1165` - Dates: Week numbering and formatting of dates with week numbers was repaired by [@&#8203;jun66j5](https://redirect.github.com/jun66j5) in :gh:`1179` - General: Improve handling for `locale=None` by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1164` - General: Remove redundant assignment in `Catalog.__setitem__` by [@&#8203;tomasr8](https://redirect.github.com/tomasr8) in :gh:`1167` - Messages: Fix extracted lineno with nested calls, by [@&#8203;dylankiss](https://redirect.github.com/dylankiss) in :gh:`1126` - Messages: Fix of list index out of range when translations is empty, by [@&#8203;gabe-sherman](https://redirect.github.com/gabe-sherman) in :gh:`1135` - Messages: Fix the way obsolete messages are stored by [@&#8203;tomasr8](https://redirect.github.com/tomasr8) in :gh:`1132` - Messages: Simplify `read_mo` logic regarding `catalog.charset` by [@&#8203;tomasr8](https://redirect.github.com/tomasr8) in :gh:`1148` - Messages: Use the first matching method & options, rather than first matching method & last options, by [@&#8203;jpmckinney](https://redirect.github.com/jpmckinney) in :gh:`1121` Deprecation and compatibility ``` * Dates: Fix deprecation warnings for `datetime.utcnow()` by @&#8203;tomasr8 in :gh:`1119` * Docs: Adjust docs/conf.py to add compatibility with sphinx 8 by @&#8203;hrnciar in :gh:`1155` * General: Import `Literal` from the typing module by @&#8203;tomasr8 in :gh:`1175` * General: Replace `OrderedDict` with just `dict` by @&#8203;tomasr8 in :gh:`1149` * Messages: Mark `wraptext` deprecated; use `TextWrapper` directly in `write_po` by @&#8203;akx in :gh:`1140` Infrastructure ~~~~~~~~~~~~~~ * Add tzdata as dev dependency and sync with tox.ini by @&#8203;wandrew004 in :gh:`1159` * Duplicate test code was deleted by @&#8203;mattdiaz007 in :gh:`1138` * Increase test coverage of the `python_format` checker by @&#8203;tomasr8 in :gh:`1176` * Small cleanups by @&#8203;akx in :gh:`1160`, :gh:`1166`, :gh:`1170` and :gh:`1172` * Update CI to use python 3.13 and Ubuntu 24.04 by @&#8203;tomasr8 in :gh:`1153` ``` ### [`v2.16.0`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2160) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.15.0...v2.16.0) Features ``` * CLDR: Upgrade to CLDR 45 by @&#8203;tomasr8 in :gh:`1077` * Lists: Support list format fallbacks by @&#8203;akx in :gh:`1099` * Messages: Initial support for reading mapping configuration as TOML by @&#8203;akx in :gh:`1108` Bugfixes ``` - CLDR: Do not allow substituting alternates or drafts in derived locales by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1113` - Core: Allow falling back to modifier-less locale data by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1104` - Core: Allow use of importlib.metadata for finding entrypoints by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1102` - Dates: Avoid crashing on importing localtime when TZ is malformed by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1100` - Messages: Allow parsing .po files that have an extant but empty Language header by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1101` - Messages: Fix `--ignore-dirs` being incorrectly read ([#&#8203;1094](https://redirect.github.com/python-babel/babel/issues/1094)) by [@&#8203;john-psina](https://redirect.github.com/john-psina) and [@&#8203;Edwin18](https://redirect.github.com/Edwin18) in :gh:`1052` and :gh:`1095` - Messages: Make pgettext search plurals when translation is not found by [@&#8203;tomasr8](https://redirect.github.com/tomasr8) in :gh:`1085` Infrastructure ``` * Replace deprecated `ast.Str` with `ast.Constant` by @&#8203;tomasr8 in :gh:`1083` * CI fixes by @&#8203;akx in :gh:`1080`, :gh:`1097`, :gh:`1103`, :gh:`1107` * Test on Python 3.13 beta releases by @&#8203;akx in * Normalize package name to lower-case in setup.py by @&#8203;akx in :gh:`1110` Documentation ~~~~~~~~~~~~~ * Add a mention to the docs that `format_skeleton(..., fuzzy=True)` may raise by @&#8203;tomasr8 in :gh:`1106` * Two hyperlinks (to CLDR) and some typos by @&#8203;buhtz in :gh:`1115` ``` ### [`v2.15.0`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2150) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.14.0...v2.15.0) Python version support ``` * Babel 2.15.0 will require Python 3.8 or newer. (:gh:`1048`) Features ~~~~~~~~ * CLDR: Upgrade to CLDR 44 (:gh:`1071`) (@&#8203;akx) * Dates: Support for the "fall back to short format" logic for time delta formatting (:gh:`1075`) (@&#8203;akx) * Message: More versatile .po IO functions (:gh:`1068`) (@&#8203;akx) * Numbers: Improved support for alternate spaces when parsing numbers (:gh:`1007`) (@&#8203;ronnix's first contribution) Infrastructure ~~~~~~~~~~~~~~ * Upgrade GitHub Actions (:gh:`1054`) (@&#8203;cclauss's first contribution) * The Unicode license is now included in `locale-data` and in the documentation (:gh:`1074`) (@&#8203;akx) ``` ### [`v2.14.0`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2140) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.13.1...v2.14.0) Upcoming deprecation ``` * This version, Babel 2.14, is the last version of Babel to support Python 3.7. Babel 2.15 will require Python 3.8 or newer. * We had previously announced Babel 2.13 to have been the last version to support Python 3.7, but being able to use CLDR 43 with Python 3.7 was deemed important enough to keep supporting the EOL Python version for one more release. Possibly backwards incompatible changes ``` - `Locale.number_symbols` will now have first-level keys for each numbering system. Since the implicit default numbering system still is `"latn"`, what had previously been e.g. `Locale.number_symbols['decimal']` is now `Locale.number_symbols['latn']['decimal']`. - Babel no longer directly depends on either `distutils` or `setuptools`; if you had been using the Babel setuptools command extensions, you would need to explicitly depend on `setuptools` – though given you're running `setup.py` you probably already do. Features ``` * CLDR/Numbers: Add support of local numbering systems for number symbols by @&#8203;kajte in :gh:`1036` * CLDR: Upgrade to CLDR 43 by @&#8203;rix0rrr in :gh:`1043` * Frontend: Allow last_translator to be passed as an option to extract_message by @&#8203;AivGitHub in :gh:`1044` * Frontend: Decouple `pybabel` CLI frontend from distutils/setuptools by @&#8203;akx in :gh:`1041` * Numbers: Improve parsing of malformed decimals by @&#8203;Olunusib and @&#8203;akx in :gh:`1042` Infrastructure ``` - Enforce trailing commas (enable Ruff COM rule and autofix) by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1045` - CI: use GitHub output formats by [@&#8203;akx](https://redirect.github.com/akx) in :gh:`1046` ### [`v2.13.1`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2131) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.13.0...v2.13.1) This is a patch release to fix a few bugs. Fixes ``` * Fix a typo in ``_locales_to_names`` by @&#8203;Dl84 in :gh:`1038` (issue :gh:`1037`) * Fix ``setuptools`` dependency for Python 3.12 by @&#8203;opryprin in :gh:`1033` ``` ### [`v2.13.0`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2130) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.12.1...v2.13.0) Upcoming deprecation (reverted) ``` * It was previously announced that this version, Babel 2.13, would be the last version of Babel to support Python 3.7. Babel 2.14 will still support Python 3.7. Features ~~~~~~~~ * Add flag to ignore POT-Creation-Date for updates by @&#8203;joeportela in :gh:`999` * Support 't' specifier in keywords by @&#8203;jeanas in :gh:`1015` * Add f-string parsing for Python 3.12 (PEP 701) by @&#8203;encukou in :gh:`1027` Fixes ~~~~~ * Various typing-related fixes by @&#8203;akx in :gh:`979`, in :gh:`978`, :gh:`981`, :gh:`983` * babel.messages.catalog: deduplicate _to_fuzzy_match_key logic by @&#8203;akx in :gh:`980` * Freeze format_time() tests to a specific date to fix test failures by @&#8203;mgorny in :gh:`998` * Spelling and grammar fixes by @&#8203;scop in :gh:`1008` * Renovate lint tools by @&#8203;akx in :gh:`1017`, :gh:`1028` * Use SPDX license identifier by @&#8203;vargenau in :gh:`994` * Use aware UTC datetimes internally by @&#8203;scop in :gh:`1009` New Contributors ~~~~~~~~~~~~~~~~ * @&#8203;mgorny made their first contribution in :gh:`998` * @&#8203;vargenau made their first contribution in :gh:`994` * @&#8203;joeportela made their first contribution in :gh:`999` * @&#8203;encukou made their first contribution in :gh:`1027` ``` ### [`v2.12.1`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2121) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.12.0...v2.12.1) Fixes ``` * Version 2.12.0 was missing the ``py.typed`` marker file. Thanks to Alex Waygood for the fix! :gh:`975` * The copyright year in all files was bumped to 2023. ``` ### [`v2.12.0`](https://redirect.github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2120) [Compare Source](https://redirect.github.com/python-babel/babel/compare/v2.11.0...v2.12.0) Deprecations & breaking changes ``` * Python 3.6 is no longer supported (:gh:`919`) - Aarni Koskela * The `get_next_timezone_transition` function is no more (:gh:`958`) - Aarni Koskela * `Locale.parse()` will no longer return `None`; it will always return a Locale or raise an exception. Passing in `None`, though technically allowed by the typing, will raise. (:gh:`966`) New features ~~~~~~~~~~~~ * CLDR: Babel now uses CLDR 42 (:gh:`951`) - Aarni Koskela * Dates: `pytz` is now optional; Babel will prefer it but will use `zoneinfo` when available. (:gh:`940`) - @&#8203;ds-cbo * General: Babel now ships type annotations, thanks to Jonah Lawrence's work in multiple PRs. * Locales: @&#8203;modifiers are now retained when parsing locales (:gh:`947`) - martin f. krafft * Messages: JavaScript template string expression extraction is now smarter. (:gh:`939`) - Johannes Wilm * Numbers: NaN and Infinity are now better supported (:gh:`955`) - Jonah Lawrence * Numbers: Short compact currency formats are now supported (:gh:`926`) - Jonah Lawrence * Numbers: There's now a `Format.compact_decimal` utility function. (:gh:`921`) - Jonah Lawrence Bugfixes ~~~~~~~~ * Dates: The cache for parsed datetime patterns is now bounded (:gh:`967`) - Aarni Koskela * Messages: Fuzzy candidate matching accuracy is improved (:gh:`970`) - Jean Abou Samra * Numbers: Compact singular formats and patterns with no numbers work correctly (:gh:`930`, :gh:`932`) - Jonah Lawrence, Jun Omae Improvements & cleanup ~~~~~~~~~~~~~~~~~~~~~~ * Dates: `babel.dates.UTC` is now an alias for `datetime.timezone.utc` (:gh:`957`) - Aarni Koskela * Dates: `babel.localtime` was slightly cleaned up. (:gh:`952`) - Aarni Koskela * Documentation: Documentation was improved by Maciej Olko, Jonah Lawrence, lilinjie, and Aarni Koskela. * Infrastructure: Babel is now being linted with pre-commit and ruff. - Aarni Koskela ``` </details> --- ### Configuration πŸ“… **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/snapcraft). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha β€” closed resolved Renovate updated Babel from 2.11.0 to 2.17.0; PR #5295 was approved and merged into main as commit 8f7bd56a4.
stealth/space-bunny-alpha β€” closed resolved Renovate updated Babel from 2.11.0 to 2.17.0; PR #5295 was approved and merged into main as commit 8f7bd56a4.
stealth/space-bunny-alpha β€” closed resolved Renovate’s Babel 2.11.0 β†’ 2.17.0 dependency update was approved and merged into main via #5295 (commit 8f7bd56a4).
qwen/qwen3.6-35b-a3b β€” β€” Automated dependency update for babel from v2.11.0 to v2.17.0 was approved by two reviewers, passed CI, and successfully merged into main.
qwen3.6-35b-a3b-mtp-q6 β€” β€” Merged an automated dependency update, upgrading babel from v2.11.0 to v2.17.0. The Renovate-generated request passed checks and was successfully integrated into the main branch.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1228 build(deps): update dependency babel to v2.18.0 (hotfix/1.5) rockcraft closed Renovate's Babel 2.15.0-to-2.18.0 hotfix update was closed unmerged after test and linter failures, then abandoned.
78%