From e11872a46206f435dbd8449ab30e7a1adfa7e8f4 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 2 Feb 2026 12:32:58 +0000
Subject: [PATCH] Bump babel from 2.17.0 to 2.18.0 (#12017)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [babel](https://github.com/python-babel/babel) from 2.17.0 to
2.18.0.
Release notes
Sourced from babel's
releases.
v2.18.0
Happy 2026! Like last year's release (ahem...), this one too is being
made from FOSDEM 2026, in Brussels, Belgium. 🇧🇪
We'll aspire for a less glacial release cycle for 2.19. 😁
Please see CHANGELOG.rst
for the detailed change log.
Full Changelog: https://github.com/python-babel/babel/compare/v2.17.0...v2.18.0
Changelog
Sourced from babel's
changelog.
Version 2.18.0
Happy 2026! This release is, coincidentally, also being made from
FOSDEM.
We will aspire for a slightly less glacial release cadence in this
year;
there are interesting features in the pipeline.
Features
* Core: Add `babel.core.get_cldr_version()` by @akx in :gh:`1242`
* Core: Use CLDR 47 by @tomasr8 in :gh:`1210`
* Core: Use canonical IANA zone names in zone_territories by @akx in
:gh:`1220`
* Messages: Improve extract performance via ignoring directories early
during os.walk by @akx in :gh:`968`
* Messages: Merge in per-format keywords and auto_comments by @akx in
:gh:`1243`
* Messages: Update keywords for extraction of dpgettext and dnpgettext
by @mardiros in :gh:`1235`
* Messages: Validate all plurals in Python format checker by @tomasr8 in
:gh:`1188`
* Time: Use standard library `timezone` instead of `FixedOffsetTimezone`
by @akx in :gh:`1203`
Bugfixes
- Core: Fix formatting for "Empty locale identifier"
exception added in #1164
by
@akx in
:gh:1184
- Core: Improve handling of no-inheritance-marker in timezone data by
@akx in
:gh:1194
- Core: Make the number pattern regular expression more efficient by
@akx in
:gh:1213
- Messages: Keep translator comments next to the translation function
call by
@akx in
:gh:1196
- Numbers: Fix KeyError that occurred when formatting compact
currencies of exactly one thousand in several locales by
@bartbroere in
:gh:1246
Other improvements
* Core: Avoid unnecessary uses of `map()` by @akx in :gh:`1180`
* Messages: Have init-catalog create directories too by @akx in
:gh:`1244`
* Messages: Optimizations for read_po by @akx in :gh:`1200`
* Messages: Use pathlib.Path() in catalog frontend; improve test
coverage by @akx in :gh:`1204`
Infrastructure and documentation
- CI: Renovate CI & lint tools by
@akx in
:gh:1228
- CI: Tighten up CI with Zizmor by
@akx in
:gh:1230
- CI: make job permissions explicit by
@akx in
:gh:1227
- Docs: Add SECURITY.md by
@akx in
:gh:1229
- Docs: Remove u string prefix from docs by
@verhovsky in
:gh:1174
- Docs: Update dates.rst with current unicode.org tr35 link by
@clach04 in
:gh:1189
- General: Add some PyPI classifiers by
@tomasr8 in
:gh:1186
- General: Apply reformatting by hand and with Ruff by
@akx in
:gh:1202
- General: Test on and declare support for Python 3.14 by
@akx in
:gh:1233
... (truncated)
Commits
56c63ca
Prepare for 2.18.0 (#1248)
73015a1
Add user-agent to CLDR downloader (#1247)
29bd362
Fix formatting compact currencies of exactly one thousand in several
locales ...
851db43
Reuse InitCatalog's guts in UpdateCatalog (#1244)
fd00e60
Extract: Merge in per-format keywords and auto_comments (#1243)
12a14b6
Add dpgettext and dnpgettext support (#1235)
7110e62
Use canonical IANA zone names in zone_territories (#1220)
e91c346
Improve extract performance via ignoring directories early during
os.walk (#968)
0c4f378
Convert Unittest testcases with setup/teardown to fixtures (#1240)
218c96e
Add babel.core.get_cldr_version() (#1242)
- Additional commits viewable in compare
view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
requirements/constraints.txt | 2 +-
requirements/dev.txt | 2 +-
requirements/doc-spelling.txt | 2 +-
requirements/doc.txt | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/requirements/constraints.txt b/requirements/constraints.txt
index 9548648270f..a3fe123811f 100644
--- a/requirements/constraints.txt
+++ b/requirements/constraints.txt
@@ -22,7 +22,7 @@ async-timeout==5.0.1 ; python_version < "3.11"
# via
# -r requirements/runtime-deps.in
# valkey
-babel==2.17.0
+babel==2.18.0
# via sphinx
backports-zstd==1.3.0 ; implementation_name == "cpython"
# via
diff --git a/requirements/dev.txt b/requirements/dev.txt
index 75dcafcafb7..e1ab605bc6a 100644
--- a/requirements/dev.txt
+++ b/requirements/dev.txt
@@ -22,7 +22,7 @@ async-timeout==5.0.1 ; python_version < "3.11"
# via
# -r requirements/runtime-deps.in
# valkey
-babel==2.17.0
+babel==2.18.0
# via sphinx
backports-zstd==1.3.0 ; platform_python_implementation == "CPython" and python_version < "3.14"
# via
diff --git a/requirements/doc-spelling.txt b/requirements/doc-spelling.txt
index c4afb0014f1..e652fbbd2fa 100644
--- a/requirements/doc-spelling.txt
+++ b/requirements/doc-spelling.txt
@@ -8,7 +8,7 @@ aiohttp-theme==0.1.7
# via -r requirements/doc.in
alabaster==1.0.0
# via sphinx
-babel==2.17.0
+babel==2.18.0
# via sphinx
certifi==2026.1.4
# via requests
diff --git a/requirements/doc.txt b/requirements/doc.txt
index 5f393559337..6beea860a6a 100644
--- a/requirements/doc.txt
+++ b/requirements/doc.txt
@@ -8,7 +8,7 @@ aiohttp-theme==0.1.7
# via -r requirements/doc.in
alabaster==1.0.0
# via sphinx
-babel==2.17.0
+babel==2.18.0
# via sphinx
certifi==2026.1.4
# via requests