Skip to content

Bump babel from 2.18.0 to 2.19.0 in /requirements/partial in the translation-dependencies group across 1 directory - #3909

Merged
luisa-beerboom merged 1 commit into
mainfrom
dependabot/pip/requirements/partial/translation-dependencies-0cc0336bc5
Dec 2, 2026
Merged

luisa-beerboom merged 1 commit into
mainfrom
dependabot/pip/requirements/partial/translation-dependencies-0cc0336bc5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the translation-dependencies group with 1 update in the /requirements/partial directory: babel.

Updates babel from 2.18.0 to 2.19.0

Release notes

Sourced from babel's releases.

v2.19.0

Well, we said we'd aim for a less glacial release cycle, and here we are – 2.19 arrives just under ten months after 2.18. 😁 (Honestly, I did mean for an even less glacial cycle, but it is what it is.)

This release brings CLDR 49, new pybabel concat and pybabel merge commands, command configuration via pyproject.toml, and a lot of bug fixes. A huge thank-you to everyone who contributed – including 32 first-time contributors!

Highlights

  • CLDR 49 (via 48.2), with new locales such as Adyghe and Moroccan Arabic, and support for CLDR 48's relative date formats. CLDR aliases are now imported and used, fixing some missing-length corner cases and rare KeyErrors.
  • pybabel concat and pybabel merge, modeled after GNU gettext's msgcat and msgmerge. These are new commands and may be buggy.
  • Configuration in pyproject.toml: extract, init, update and compile may now read their option defaults from [tool.babel.<command>] tables. See the docs for details.
  • Lots of fixes across date parsing and formatting, compact number formatting, PO/MO file handling, and both the Python and JavaScript message extractors.
  • Fixed an interesting bug where formatting with one locale (e.g. Hebrew) could corrupt formatting for other locales later on (#1234).

Compatibility notes

  • Python 3.8 is no longer supported. Babel 2.19 supports Python 3.9 through 3.15 (and PyPy).
  • For downstream packagers: Babel is now built with Hatch via PEP 517 instead of setup.py. The sdist includes the CLDR data and builds a wheel identical to the one on PyPI. When building from a Git checkout, import the CLDR data first (make import-cldr); the build will complain if you haven't.
  • Two-digit years in parse_date are now resolved relative to today (within 80 years before and 20 years after), like ICU and Java do, so 3/9/99 parses as 1999, not 2099.
  • The public functions of babel.messages.jslexer are deprecated. It was never documented, and the JavaScript extractor is likely to be replaced outright in Babel 2.20.

Verifying this release

The release artifacts now come with build provenance attestations. You can verify a downloaded file with:

gh attestation verify babel-2.19.0-py3-none-any.whl --repo python-babel/babel

Please see CHANGES.rst for the detailed change log.

Full Changelog: python-babel/babel@v2.18.0...v2.19.0

Changelog

Sourced from babel's changelog.

Version 2.19.0

This release brings CLDR 49, new pybabel concat and pybabel merge commands, command configuration via pyproject.toml, and a large number of bug fixes, many of them from first-time contributors (and large language models). Thank you all!

Babel now requires Python 3.9 or newer, and is built with a PEP 517 process using Hatch instead of the legacy setup.py. This in particular may be of interest to downstream packagers.

Features


* Core: Accept `C` and `POSIX` in `Locale.parse` by @gyanu2507 in :gh:`1340`
* Core: Add support for other systemic aliases specified in CLDR `root.xml` by @akx in :gh:`1310`
* Core: Use CLDR 49 by @tomasr8 in :gh:`1427` (and CLDR 48.2 by @akx in :gh:`1302`)
* Dates: Add the Julian day (`g`) date pattern by @tomasr8 in :gh:`1445`
* Dates: Parse two-digit years relative to today in `parse_date` by @jayhemnani9910 in :gh:`1449`
* Dates: Support CLDR 48 relative date formats by @akx in :gh:`1306`
* Dates: Support a localized UTC alt in `get_timezone_gmt` by @tomasr8 in :gh:`1433`
* Messages: Add `pybabel concat` and `pybabel merge` commands by @soft-suroleb in :gh:`1161`, with follow-ups by @akx in :gh:`1316`
* Messages: Extract parametrized gettext calls from JavaScript files by @adaamz in :gh:`1221`
* Messages: Read default command configuration from `pyproject.toml` by @max-moser in :gh:`1290`
* Messages: Update plural rules from CLDR data by @akx in :gh:`1303` and :gh:`1309`
* Messages: Validate `msgid_plural` against `msgstr[0]` for languages with `nplurals=1` by @tomasr8 in :gh:`1198`
* Messages: Validate star width and precision arguments in Python format strings by @ice-pring in :gh:`1402`
* Messages: Warn when skipping an f-string with substitutions during extraction by @ColinHouse in :gh:`1350`
* Units: Implement long/narrow -> short fallback by @trillllian in :gh:`1225`

Bugfixes

  • Core: Fix locale data corruption across locales by memoizing resolved data per instance by @​akx in :gh:1299
  • Core: Key time zone names by canonical IANA zone IDs by @​akx in :gh:1417
  • Dates: Fix get_timezone_gmt hour for negative fractional offsets by @​vineethsaivs in :gh:1291
  • Dates: Handle 12 AM and 12 PM correctly in parse_time by @​simpleqt in :gh:1366
  • Dates: Preserve fractional timedelta seconds until formatting by @​nawaaaaaAaar in :gh:1401
  • Dates: Preserve the original skeleton name in the KeyError raised by fuzzy format_skeleton by @​SAY-5 in :gh:1275
  • Dates: Raise ParseError instead of a bare ValueError from parse_date and parse_time by @​binggao1230 in :gh:1282
  • Dates: Return a location without a region when the locale has no name for it by @​simpleqt in :gh:1405
  • Dates: Truncate fractional seconds per UTS 35 instead of rounding by @​vineethsaivs in :gh:1292
  • Messages: Decode message context when reading MO files by @​akx in :gh:1305
  • Messages: Don't crash on blank PO-Revision-Date / POT-Creation-Date headers by @​agu2347 in :gh:1293
  • Messages: Fix Catalog.is_identical for context-specific messages by @​akx in :gh:1428
  • Messages: Fix comparisons between messages and other types by @​wozhenbang2004 in :gh:1483
  • Messages: Fix several JavaScript extraction issues: line numbers on CRLF files (@​apoorva-01 in :gh:1288), Unicode code point escapes (@​theman6660 in :gh:1394), vertical-tab escapes (@​Dcastroro in :gh:1409) and source encoding in template strings (@​tanveerchana in :gh:1443)
  • Messages: Fix Python extraction of byte strings (@​bysiber in :gh:1259) and calls within square brackets (@​denyshon in :gh:1336)
  • Messages: Keep explicitly declared plural forms without a locale by @​akx in :gh:1318

... (truncated)

Commits
  • 351b145 Prepare 2.19.0 (#1488)
  • fcead2c Fix compact decimal plural selection after rounding (#1430)
  • b15eb7b Fix typo in extract.py comment (#1477)
  • 67f545a Deprecate the public functions of babel.messages.jslexer (#1459)
  • b75ad04 Merge pull request #1316 from python-babel/msgcat-msgmerge-followups
  • 8818f28 Concatenate: Keep correct translations
  • 7f6193f pofile: Don't require conflict tracking on the catalog
  • f552cdd Concatenate: Preserve the input catalog headers
  • 59413cb Concatenate, Merge: Don't mark the catalog header fuzzy
  • 19e8571 Merge: Fix crash when no compendium is given
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies python Pull requests that update Python code labels Nov 30, 2026
@dependabot dependabot Bot changed the title Bump babel from 2.18.0 to 2.19.0 in /requirements/partial in the translation-dependencies group Bump babel from 2.18.0 to 2.19.0 in /requirements/partial in the translation-dependencies group across 1 directory Dec 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/requirements/partial/translation-dependencies-0cc0336bc5 branch from 22250cd to 6e78701 Compare December 1, 2026 16:28
@luisa-beerboom

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps the translation-dependencies group with 1 update in the /requirements/partial directory: [babel](https://github.com/python-babel/babel).


Updates `babel` from 2.18.0 to 2.19.0
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst)
- [Commits](python-babel/babel@v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: babel
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: translation-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/requirements/partial/translation-dependencies-0cc0336bc5 branch from 6e78701 to 6a5da8d Compare December 2, 2026 12:39
@luisa-beerboom
luisa-beerboom enabled auto-merge (squash) December 2, 2026 12:44
@luisa-beerboom
luisa-beerboom merged commit f445fd1 into main Dec 2, 2026
5 checks passed
@luisa-beerboom
luisa-beerboom deleted the dependabot/pip/requirements/partial/translation-dependencies-0cc0336bc5 branch December 2, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant