* The ``get_next_timezone_transition()`` function is marked deprecated in this version and will be removed
likely as soon as Babel 2.11. No replacement for this function is planned; based on discussion in
:gh:`716`, it's likely the function is not used in any real code. (:gh:`852`) - Aarni Koskela, Paul Ganssle
Improvements
* CLDR: Upgrade to CLDR 41.0. (:gh:`853`) - Aarni Koskela
* The ``c`` and ``e`` plural form operands introduced in CLDR 40 are parsed, but otherwise unsupported. (:gh:`826`)
* Non-nominative forms of units are currently ignored.
* Messages: Implement `--init-missing` option for `pybabel update` (:gh:`785`) - ruro
* Messages: For ``extract``, you can now replace the built-in ``.*`` / ``_*`` ignored directory patterns
with ones of your own. (:gh:`832`) - Aarni Koskela, Kinshuk Dua
* Messages: Add ``--check`` to verify if catalogs are up-to-date (:gh:`831`) - Krzysztof Jagiełło
* Messages: Add ``--header-comment`` to override default header comment (:gh:`720`) - Mohamed Hafez Morsy, Aarni Koskela
* Dates: ``parse_time`` now supports 12-hour clock, and is better at parsing partial times.
(:gh:`834`) - Aarni Koskela, David Bauer, Arthur Jovart
* Dates: ``parse_date`` and ``parse_time`` now raise ``ParseError``, a subclass of ``ValueError``, in certain cases.
(:gh:`834`) - Aarni Koskela
* Dates: ``parse_date`` and ``parse_time`` now accept the ``format`` parameter.
(:gh:`834`) - Juliette Monsel, Aarni Koskela
Infrastructure
The internal babel/_compat.py module is no more (:gh:808) - Hugo van Kemenade
Python 3.10 is officially supported (:gh:809) - Hugo van Kemenade
There's now a friendly GitHub issue template. (:gh:800) – Álvaro Mondéjar Rubio
Don't use the deprecated format_number function internally or in tests - Aarni Koskela
Add GitHub URL for PyPi (:gh:846) - Andrii Oriekhov
CI: Babel is now tested with PyPy 3.7. (:gh:851) - Aarni Koskela
Bugfixes
* Date formatting: Allow using `other` as fallback form (:gh:`827`) - Aarni Koskela
* Locales: ``Locale.parse()`` normalizes variant tags to upper case (:gh:`829`) - Aarni Koskela
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-babel/babel/commit/5d24af5be3ae048a86bf3dc40daaf965f3502331"><code>5d24af5</code></a> Become 2.10.0</li>
<li><a href="https://github.com/python-babel/babel/commit/fc398ac465750175b01a511eab9608a0d4b7c8c2"><code>fc398ac</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/python-babel/babel/issues/856">#856</a> from akx/prepare-2.10</li>
<li><a href="https://github.com/python-babel/babel/commit/ae592482f0caeda24398dfeb60b752bdcfab218c"><code>ae59248</code></a> Distill changelog and AUTHORS</li>
<li><a href="https://github.com/python-babel/babel/commit/8f0ae6935fa8555df8738b720345b818486b6f58"><code>8f0ae69</code></a> Add maintainer to setup.py</li>
<li><a href="https://github.com/python-babel/babel/commit/6be13e4144316d94eb61a85e1dc662d5ad41644b"><code>6be13e4</code></a> Slightly clean up setup.py</li>
<li><a href="https://github.com/python-babel/babel/commit/2e56095303e981d58813455330f0e873ea854d0e"><code>2e56095</code></a> Remove upload-docs task from Makefile (RTD handles docs)</li>
<li><a href="https://github.com/python-babel/babel/commit/2a3d05affe7af2dec2c0f91df83d2b876c73db8f"><code>2a3d05a</code></a> Add test for issue 798</li>
<li><a href="https://github.com/python-babel/babel/commit/61109c4bd4d60a79d7cb5f216a8286ddff6fb30b"><code>61109c4</code></a> allow header_comment to be passed as an option to extract_message (<a href="https://github-redirect.dependabot.com/python-babel/babel/issues/720">#720</a>)</li>
<li><a href="https://github.com/python-babel/babel/commit/20352cc667cd3f35c190b966cfc042cc3f2400a5"><code>20352cc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/python-babel/babel/issues/853">#853</a> from akx/cldr-41</li>
<li><a href="https://github.com/python-babel/babel/commit/dcfae607fa7f29477b99094a08365deb51cd7d3d"><code>dcfae60</code></a> Update tests for CLDR 41</li>
<li>Additional commits viewable in <a href="https://github.com/python-babel/babel/compare/v2.7.0...v2.10.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=babel&package-manager=pip&previous-version=2.7.0&new-version=2.10.0)](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 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)
Bumps babel from 2.7.0 to 2.10.0.
Release notes
Sourced from babel's releases.
... (truncated)
Changelog
Sourced from babel's changelog.