Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flask-babel requirement from <4,>=1.0 to >=1.0,<5 #1235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2023

Updates the requirements on flask-babel to permit the latest version.

Release notes

Sourced from flask-babel's releases.

v4.0.0

  • Dropped support for end-of-life Python 3.7. Support PyPy 3.9
  • Replace deprecated locked_cached_property decorator with cached_property (#230)
Changelog

Sourced from flask-babel's changelog.

v3.1.0

  • Documentation and packaging improvements. (#226, #223, #218, #217, #215)
  • Don't return the default locale twice (#219)
  • Fix tests breaking against babel 12.2, which changed localized times to use non-breaking-spaces. Babel 12.2 or greater is now required. (#222)
  • Relax version requirements for dependencies. (#227, #225)

v3.0.0

Major version bump as this version removes support for Python 3.5 and 3.6, along with multiple major breaking changes. Hope you've been following SemVer :)

  • Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10 and 3.11.
  • Fixes to documentation to address outdated links and settings (#204, 201)
  • Jinja version 3 or greater is now required (released 2021)
  • Removed Babel._date_formats, use the public Babel.date_formats instead.
  • list_translations() always returns the default locale, even if it does not exist. (#75)
  • Add lazy_npgettext() (#68)
  • Babel.locale_selector and Babel.timezone_selector no longer exist. They must be provided either when the Babel() object is created or when init_app() is called. This is to support having a single Babel object for multiple Flask apps (#107) as well as to simplify settings and multi-threaded state.
  • Most configuration options can be passed directly through init_app().

v2.0.0

Starting with version 2, flask-babel drops official support for Python2. Python versions 3.5 through 3.9-beta1 are tested and supported, as well as pypy3.

  • Tests moved from unittest to pytest (#163)
  • Domain and caching support from Flask-BabelEx (#163)
  • Documentation moved from python-hosted to Github Pages.
  • CI moved from Travisci to Github Actions
  • Small documentation improvements.
  • Removed uncessary checks on get_translations() (#127, #126)
  • localeselector and timezoneselector can be changed after creation.
Commits
  • a754ead Bump version: 3.1.1 → 4.0.0
  • d42f50c Dropping Python 3.7 support, adding PyPy 3.9.
  • db5c2a1 Bump version: 3.1.0 → 3.1.1
  • 6ca29cd Merge branch 'jkittner-flask-2-3-deprecation'
  • 346a45a Merge branch 'flask-2-3-deprecation' of github.com:jkittner/flask-babel into ...
  • dad9165 Explicit app factory test.
  • 38f15cd Release triggered on public, not creation.
  • 414a5a3 replace deprecated locked_cached_property decorator with cached_property
  • 69d3340 Bump version: 3.0.1 → 3.1.0
  • 2c706cb Update changelog.
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 2, 2023
Updates the requirements on [flask-babel](https://github.com/python-babel/flask-babel) to permit the latest version.
- [Release notes](https://github.com/python-babel/flask-babel/releases)
- [Changelog](https://github.com/python-babel/flask-babel/blob/master/CHANGELOG)
- [Commits](python-babel/flask-babel@v1.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: flask-babel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/master/flask-babel-gte-1.0-and-lt-5 branch from 19adfd5 to 62833c6 Compare October 7, 2023 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants