hasadna / knesset-data-pipelines

Main repository for Open Knesset project - contains the knesset data scrapers and processing pipelines
https://oknesset.org/
MIT License
14 stars 26 forks source link

Update flask-babel to 4.0.0 #297

Closed pyup-bot closed 11 months ago

pyup-bot commented 1 year ago

This PR updates flask-babel from 2.0.0 to 4.0.0.

Changelog ### 3.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) ``` ### 3.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(). ```
Links - PyPI: https://pypi.org/project/flask-babel - Changelog: https://data.safetycli.com/changelogs/flask-babel/ - Repo: https://github.com/python-babel/flask-babel - Docs: https://pythonhosted.org/flask-babel/