flaskerize
flaskerize copied to clipboard
Bump babel from 2.7.0 to 2.12.1
Bumps babel from 2.7.0 to 2.12.1.
Release notes
Sourced from babel's releases.
v2.12.1
Tiny packaging bugfix:
py.typed
wasn't included.What's Changed
- Include
py.typed
file in wheels by@AlexWaygood
in python-babel/babel#975- Become 2.12.1 by
@akx
in python-babel/babel#976New Contributors
@AlexWaygood
made their first contribution in python-babel/babel#975Full Changelog: https://github.com/python-babel/babel/compare/v2.12.0...v2.12.1
Version 2.12.0
The below release notes are auto-generated; please see
CHANGES.rst
for a human-crafted one.Thank you to all contributors!
What's Changed
- docs(changes): Fix broken issue links by
@DenverCoder1
in python-babel/babel#922- Update docs build configuration by
@akx
in python-babel/babel#924- feat: Adds
Format.compact_decimal
utility by@DenverCoder1
in python-babel/babel#921- Remove vestigial Python 2
long
check by@akx
in python-babel/babel#925- feat: Support for short compact currency formats by
@DenverCoder1
in python-babel/babel#926- Drop support for EOL Python 3.6 by
@akx
in python-babel/babel#919- Cast number to Decimal in _get_compact_format by
@DenverCoder1
in python-babel/babel#930- Replace %/.format/concatenation with f-strings where feasible by
@akx
in python-babel/babel#927- ci: Fix testing dependencies by
@DenverCoder1
in python-babel/babel#936- javascript extract improvements by
@johanneswilm
in python-babel/babel#939- Fix compact singular formats and patterns with no numbers by
@DenverCoder1
in python-babel/babel#932- fix typo by
@uniontech-lilinjie
in python-babel/babel#941- Enable pre-commit by
@akx
in python-babel/babel#943- Added inline type annotations to Babel by
@DenverCoder1
in python-babel/babel#934- Implement zoneinfo support and make pytz optional by
@ds-cbo
in python-babel/babel#940- Unify datetime imports by
@akx
in python-babel/babel#945- Minor cleanups by
@akx
in python-babel/babel#948- Renovate formatting in test_checkers and test_frontend by
@akx
in python-babel/babel#950- Add ruff for linting by
@akx
in python-babel/babel#949- Upgrade to CLDR 42 by
@akx
in python-babel/babel#951- Update test dependencies (tox v4) by
@DenverCoder1
in python-babel/babel#953- Remove redundant tests for babel.support by
@akx
in python-babel/babel#954- Support for formatting NaN, Infinity by
@DenverCoder1
in python-babel/babel#955- Clean up babel.localtime by
@akx
in python-babel/babel#952- Use standard library UTC by
@akx
in python-babel/babel#957- Fix unbound
exc
in babel.dates by@akx
in python-babel/babel#959- Finally remove get_next_timezone_transition by
@akx
in python-babel/babel#958- More fixes and modernization by
@akx
in python-babel/babel#960- Keep
@modifiers
when parsing locales by@madduck
in python-babel/babel#947- Add two new options in cmdline.rst docs by
@m-aciek
in python-babel/babel#963
... (truncated)
Changelog
Sourced from babel's changelog.
Version 2.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.
Version 2.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 KoskelaNew 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`) - @ds-cbo * General: Babel now ships type annotations, thanks to Jonah Lawrence's work in multiple PRs. * Locales: @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 </code></pre> <ul> <li>Dates: <code>babel.dates.UTC</code> is now an alias for <code>datetime.timezone.utc</code> (:gh:<code>957</code>) - Aarni Koskela</li> <li>Dates: <code>babel.localtime</code> was slightly cleaned up. (:gh:<code>952</code>) - Aarni Koskela</li> <li>Documentation: Documentation was improved by Maciej Olko, Jonah Lawrence, lilinjie, and Aarni Koskela.</li> <li>Infrastructure: Babel is now being linted with pre-commit and ruff. - Aarni Koskela</li> </ul> <h2>Version 2.11.0</h2> <p>Upcoming deprecation</p> <pre><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary>
<ul> <li><a href="https://github.com/python-babel/babel/commit/56071c90116e6b9ebbb62ac072bcf032fc6987cb"><code>56071c9</code></a> Become 2.12.1</li> <li><a href="https://github.com/python-babel/babel/commit/9beda0bed2600af47827ad200b0c5864c542c617"><code>9beda0b</code></a> Update copyright year to 2023</li> <li><a href="https://github.com/python-babel/babel/commit/287f731fdde4b24034fd7f18b44de78e8db930e5"><code>287f731</code></a> Include <code>py.typed</code> file in wheels (<a href="https://github-redirect.dependabot.com/python-babel/babel/issues/975">#975</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/f5bb5bffdbc7923bc0297b99fd9dc2cb69afd6e7"><code>f5bb5bf</code></a> Become 2.12.0</li> <li><a href="https://github.com/python-babel/babel/commit/d597370bfcaa8c7421ec5639ecda7b55467167dc"><code>d597370</code></a> Tox: also test with pytz installed (<a href="https://github-redirect.dependabot.com/python-babel/babel/issues/974">#974</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/373a52f0425d0af1e578e8562a8db93fc3a02488"><code>373a52f</code></a> Renovate CI tools a bit (<a href="https://github-redirect.dependabot.com/python-babel/babel/issues/972">#972</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/c76f1d4bc574c4885b7a1afa90da3ca5026153ec"><code>c76f1d4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/python-babel/babel/issues/970">#970</a> from jeanas/autojunk</li> <li><a href="https://github.com/python-babel/babel/commit/c8b7ac5b7ae1428aa6315abb6b90af0c03ab4e30"><code>c8b7ac5</code></a> Turn off difflib "autojunk" heuristic in fuzzy matching</li> <li><a href="https://github.com/python-babel/babel/commit/63bb71a5acd0d49a2ceee15098485bc34b0e8864"><code>63bb71a</code></a> In fuzzy matching, also .lower().strip() fuzzy candidates</li> <li><a href="https://github.com/python-babel/babel/commit/08af5e2bab184c1b5d357ebde8c0efdbe6288e2c"><code>08af5e2</code></a> Replace babel.localedata.locale_identifiers cache with LRU cache</li> <li>Additional commits viewable in <a href="https://github.com/python-babel/babel/compare/v2.7.0...v2.12.1">compare view</a></li> </ul> </details>
<br />
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 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)