-
-
Notifications
You must be signed in to change notification settings - Fork 588
Commit ab70bca
authored
build(deps): bump babel from 2.16.0 to 2.17.0 in /docs (#2696)
Bumps [babel](https://github.com/python-babel/babel) from 2.16.0 to
2.17.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/python-babel/babel/releases">babel's
releases</a>.</em></p>
<blockquote>
<h2>v2.17.0</h2>
<p>Happy 2025! This release is being made from FOSDEM 2025, in Brussels,
Belgium. 🇧🇪</p>
<p>Thank you to all contributors, new and old, and here's to another
great year of internationalization and localization!</p>
<hr />
<p>The changelog below is auto-generated by GitHub.</p>
<p>Please see <a
href="https://github.com/python-babel/babel/blob/b50a1d2186c20f3359f7e10853d2b2225a46ed40/CHANGES.rst">CHANGELOG.rst</a>
for additional details.</p>
<hr />
<h2>What's Changed</h2>
<ul>
<li>Fix deprecation warnings for <code>datetime.utcnow()</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1119">python-babel/babel#1119</a></li>
<li>Enclose white spaces in references by <a
href="https://github.com/Dunedan"><code>@Dunedan</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1105">python-babel/babel#1105</a></li>
<li>Replace <code>str.index</code> with <code>str.find</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1130">python-babel/babel#1130</a></li>
<li>Replace more alternate characters in <code>format_skeleton</code> by
<a href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1122">python-babel/babel#1122</a></li>
<li>Fix extracted lineno with nested calls by <a
href="https://github.com/dylankiss"><code>@dylankiss</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1126">python-babel/babel#1126</a></li>
<li>"Deleted duplicate code in test" by <a
href="https://github.com/mattdiaz007"><code>@mattdiaz007</code></a> in
<a
href="https://redirect.github.com/python-babel/babel/pull/1138">python-babel/babel#1138</a></li>
<li>Fix of list index out of range error in PoFileParser.add_message
when translations is empty by <a
href="https://github.com/gabe-sherman"><code>@gabe-sherman</code></a>
in <a
href="https://redirect.github.com/python-babel/babel/pull/1135">python-babel/babel#1135</a></li>
<li>Make seconds optional in <code>parse_time</code> time formats by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1141">python-babel/babel#1141</a></li>
<li>Mark <code>wraptext</code> deprecated; use <code>TextWrapper</code>
directly in <code>write_po</code> by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1140">python-babel/babel#1140</a></li>
<li>Fix the way obsolete messages are stored by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1132">python-babel/babel#1132</a></li>
<li>Replace <code>OrderedDict</code> with just <code>dict</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1149">python-babel/babel#1149</a></li>
<li>Use CLDR 46 by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1145">python-babel/babel#1145</a></li>
<li>Update CI to use python 3.13 and Ubuntu 24.04 by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1153">python-babel/babel#1153</a></li>
<li>Adjust docs/conf.py to add compatibility with sphinx 8 by <a
href="https://github.com/hrnciar"><code>@hrnciar</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1155">python-babel/babel#1155</a></li>
<li>Allow specifying an explicit format in parse_date/parse_time by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1131">python-babel/babel#1131</a></li>
<li>Simplify <code>read_mo</code> logic regarding
<code>catalog.charset</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1148">python-babel/babel#1148</a></li>
<li>Bump CI/tool versions by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1160">python-babel/babel#1160</a></li>
<li>fix: check_and_call_extract_file uses the first matching method and
options, instead of the first matching method and last matching options
by <a href="https://github.com/jpmckinney"><code>@jpmckinney</code></a>
in <a
href="https://redirect.github.com/python-babel/babel/pull/1121">python-babel/babel#1121</a></li>
<li>Prevent wrapping file locations containing white space by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1120">python-babel/babel#1120</a></li>
<li>Add tzdata as dev dependency and sync with tox.ini by <a
href="https://github.com/wandrew004"><code>@wandrew004</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1159">python-babel/babel#1159</a></li>
<li>Support short and narrow formats for format_timedelta when using
<code>add_direction</code> by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1163">python-babel/babel#1163</a></li>
<li>Improve handling for <code>locale=None</code> by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1164">python-babel/babel#1164</a></li>
<li>Use <code>pytest.raises(match=...)</code> by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1166">python-babel/babel#1166</a></li>
<li>Strip extra leading slashes in <code>/etc/localtime</code> by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1165">python-babel/babel#1165</a></li>
<li>Remove redundant assignment in <code>Catalog.__setitem__</code> by
<a href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1167">python-babel/babel#1167</a></li>
<li>Small cleanups by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1170">python-babel/babel#1170</a></li>
<li>Small test cleanup by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1172">python-babel/babel#1172</a></li>
<li>Add <code>Message.python_brace_format</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1169">python-babel/babel#1169</a></li>
<li>Import <code>Literal</code> from the typing module by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1175">python-babel/babel#1175</a></li>
<li>Prefer LC_MONETARY when formatting currencies by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1173">python-babel/babel#1173</a></li>
<li>Fix dates formatting <code>Y</code>, <code>w</code> and
<code>W</code> symbols for week-numbering by <a
href="https://github.com/jun66j5"><code>@jun66j5</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1179">python-babel/babel#1179</a></li>
<li>Increase test coverage of the <code>python_format</code> checker by
<a href="https://github.com/tomasr8"><code>@tomasr8</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1176">python-babel/babel#1176</a></li>
<li>Prepare for 2.17.0 by <a
href="https://github.com/akx"><code>@akx</code></a> in <a
href="https://redirect.github.com/python-babel/babel/pull/1182">python-babel/babel#1182</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Dunedan"><code>@Dunedan</code></a> made
their first contribution in <a
href="https://redirect.github.com/python-babel/babel/pull/1105">python-babel/babel#1105</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/python-babel/babel/blob/master/CHANGES.rst">babel's
changelog</a>.</em></p>
<blockquote>
<h2>Version 2.17.0</h2>
<p>Happy 2025! This release is being made from FOSDEM 2025, in Brussels,
Belgium.</p>
<p>Thank you to all contributors, new and old,
and here's to another great year of internationalization and
localization!</p>
<p>Features</p>
<pre><code>
* 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`
<p>Bugfixes<br />
</code></pre></p>
<ul>
<li>Dates: Make seconds optional in <code>parse_time</code> time formats
by <a href="https://github.com/tomasr8"><code>@tomasr8</code></a> in
:gh:<code>1141</code></li>
<li>Dates: Replace <code>str.index</code> with <code>str.find</code> by
<a href="https://github.com/tomasr8"><code>@tomasr8</code></a> in
:gh:<code>1130</code></li>
<li>Dates: Strip extra leading slashes in <code>/etc/localtime</code> by
<a href="https://github.com/akx"><code>@akx</code></a> in
:gh:<code>1165</code></li>
<li>Dates: Week numbering and formatting of dates with week numbers was
repaired by <a
href="https://github.com/jun66j5"><code>@jun66j5</code></a> in
:gh:<code>1179</code></li>
<li>General: Improve handling for <code>locale=None</code> by <a
href="https://github.com/akx"><code>@akx</code></a> in
:gh:<code>1164</code></li>
<li>General: Remove redundant assignment in
<code>Catalog.__setitem__</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in
:gh:<code>1167</code></li>
<li>Messages: Fix extracted lineno with nested calls, by <a
href="https://github.com/dylankiss"><code>@dylankiss</code></a> in
:gh:<code>1126</code></li>
<li>Messages: Fix of list index out of range when translations is empty,
by <a
href="https://github.com/gabe-sherman"><code>@gabe-sherman</code></a>
in :gh:<code>1135</code></li>
<li>Messages: Fix the way obsolete messages are stored by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in
:gh:<code>1132</code></li>
<li>Messages: Simplify <code>read_mo</code> logic regarding
<code>catalog.charset</code> by <a
href="https://github.com/tomasr8"><code>@tomasr8</code></a> in
:gh:<code>1148</code></li>
<li>Messages: Use the first matching method & options, rather than
first matching method & last options, by <a
href="https://github.com/jpmckinney"><code>@jpmckinney</code></a> in
:gh:<code>1121</code></li>
</ul>
<p>Deprecation and compatibility</p>
<pre><code>
* Dates: Fix deprecation warnings for `datetime.utcnow()` by @tomasr8 in
:gh:`1119`
* Docs: Adjust docs/conf.py to add compatibility with sphinx 8 by
@hrnciar in :gh:`1155`
* General: Import `Literal` from the typing module by @tomasr8 in
:gh:`1175`
* General: Replace `OrderedDict` with just `dict` by @tomasr8 in
:gh:`1149`
* Messages: Mark `wraptext` deprecated; use `TextWrapper` directly in
`write_po` by @akx in :gh:`1140`
<p>Infrastructure</p>
<pre><code>
* Add tzdata as dev dependency and sync with tox.ini by @wandrew004 in
:gh:`1159`
* Duplicate test code was deleted by @mattdiaz007 in :gh:`1138`
* Increase test coverage of the `python_format` checker by @tomasr8 in
:gh:`1176`
* Small cleanups by @akx in :gh:`1160`, :gh:`1166`, :gh:`1170` and
:gh:`1172`
&lt;/tr&gt;&lt;/table&gt;
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="python-babel/babel@b50a1d2186c20f3359f7e10853d2b2225a46ed40"><code>b50a1d2</code></a>
Prepare for 2.17.0 (<a
href="https://redirect.github.com/python-babel/babel/issues/1182">#1182</a>)</li>
<li><a
href="python-babel/babel@5f117b2689573aa98acc8a47108c49b99f4d1394"><code>5f117b2</code></a>
Increase test coverage of the <code>python_format</code>
checker (<a
href="https://redirect.github.com/python-babel/babel/issues/1176">#1176</a>)</li>
<li><a
href="python-babel/babel@363ad7531fb5dcdc3e9844573592b0b44afb914b"><code>363ad75</code></a>
Fix dates formatting <code>Y</code>,
<code>w</code> and <code>W</code> symbols for
week-numbering (<a
href="https://redirect.github.com/python-babel/babel/issues/1179">#1179</a>)</li>
<li><a
href="python-babel/babel@e9c3ef8d0de3080ca59f7f8dbabf9b52983adc7d"><code>e9c3ef8</code></a>
Merge pull request <a
href="https://redirect.github.com/python-babel/babel/issues/1173">#1173</a>
from python-babel/lc-monetary-2</li>
<li><a
href="python-babel/babel@56ef7c7f578a904917464c187e399abb762bd5e3"><code>56ef7c7</code></a>
Prefer LC_MONETARY when formatting currency</li>
<li><a
href="python-babel/babel@aee6d698b541dc50439280d7e093092cc0d4b832"><code>aee6d69</code></a>
<code>default_locale</code>: support multiple
keys</li>
<li><a
href="python-babel/babel@2d8a808864d1aae5d3d02d4f95917c79740c5d35"><code>2d8a808</code></a>
Import <code>Literal</code> &amp;
<code>TypedDict</code> from the typing module (<a
href="https://redirect.github.com/python-babel/babel/issues/1175">#1175</a>)</li>
<li><a
href="python-babel/babel@98b9562c05e5276038c27ec12c12f3e92dc027b6"><code>98b9562</code></a>
Add basic support for
<code>Message.python_brace_format</code> (<a
href="https://redirect.github.com/python-babel/babel/issues/1169">#1169</a>)</li>
<li><a
href="python-babel/babel@0c1091c9de9543e30bc4b845eb10b5bf84516d7b"><code>0c1091c</code></a>
Small test cleanup (<a
href="https://redirect.github.com/python-babel/babel/issues/1172">#1172</a>)</li>
<li><a
href="python-babel/babel@db4879136a7fbcef475f26b75dbdd65d0ce488f9"><code>db48791</code></a>
Merge pull request <a
href="https://redirect.github.com/python-babel/babel/issues/1170">#1170</a>
from python-babel/small-cleanup</li>
<li>Additional commits viewable in <a
href="python-babel/babel@v2.16.0...v2.17.0">compare
view</a></li>
</ul>
</details>
<br />
</code></pre>
[](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)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 <dependency name> 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)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 8670818 commit ab70bcaCopy full SHA for ab70bca
1 file changed
+3
-3
lines changed+3-3
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
0 commit comments