You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tkloczko@pers-jacek flask-babel-4.0.0]$ grep -r pytzREADME.md:[babel][] and [pytz][] modules.README.md:[pytz]: https://pypi.python.org/pypi/pytz/docs/index.rst:any Flask application with the help of `babel`_, `pytz`_ and its own copy ofdocs/index.rst:.. _pytz: https://pythonhosted.org/pytz/flask_babel/__init__.py:from pytz import timezone, UTCflask_babel/__init__.py: `pytz.timezone` object.flask_babel/__init__.py: a `pytz.timezone` object. This returns `None` if used outside a request.pyproject.toml:pytz = ">=2022.7"
Activity
TkTech commentedon Jun 19, 2024
zoneinfois only available in Python 3.9+ and we currently support versions before that. When 3.8 hits EOL in 2024-10, we'll switch.kloczek commentedon Jun 19, 2024
All what you wrote is 100% accurate.
In dropped in RFE commit you have example how to handle that.
andreymal commentedon Jun 19, 2024
There is backports.zoneinfo (and Django 4.2 uses it, for example)
olejorgenb commentedon Jun 18, 2025
Is this related to this error I'm seeing:
'zoneinfo.ZoneInfo' object has no attribute 'normalize'olejorgenb commentedon Jul 22, 2025
Would a PR be welcome?
homeworkprod commentedon Aug 5, 2025
We're past that date. PR to remove Python 3.8 is at #245.
Python 3.9 will be EOL as well in less than three months.
ElLorans commentedon Mar 2, 2026
Would a PR be welcome?