python-babel / flask-babel

i18n and l10n support for Flask based on Babel and pytz
https://python-babel.github.io/flask-babel/
Other
432 stars 159 forks source link

Fix werkzeug deprecation warning #160

Closed maxnoe closed 4 years ago

maxnoe commented 4 years ago

Fix for

 The import 'werkzeug.ImmutableDict' is deprecated and will be removed in Werkzeug 1.0. Use 'from werkzeug.datastructures import ImmutableDict' instead.
    from werkzeug import ImmutableDict
davidism commented 4 years ago

This exact fix was already merged in #158, I'm not sure how you managed to recreate it.

davidism commented 4 years ago

Ah, you're looking at master, but the correct branch is dev, I guess it hasn't been synced in a while.

infothrill commented 4 years ago

any chance to get this fix released? The newest version of werkzeug (1.0.0rc1) has moved on and the current version of Flask-Babel (0.12.2) uses the now disfunct import. thx!

TkTech commented 4 years ago

Release v1.0.0 went out today and is available on pypi.