Open kloczek opened 1 month ago
zoneinfo
is only available in Python 3.9+ and we currently support versions before that. When 3.8 hits EOL in 2024-10, we'll switch.
All what you wrote is 100% accurate. In dropped in RFE commit you have example how to handle that.
There is backports.zoneinfo (and Django 4.2 uses it, for example)
Switch to standard
zoneinfo
module. Below may help https://github.com/pydantic/pydantic-core/commit/fd262933