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
The next version of tzlocal will switch from using pytz zones to zoneinfo (which is generally a good idea), which will break this package, since zoneinfo zones don't have the same interface as pytz zones.
You should probably pin the version of tzlocal ASAP, and/or add in some logic to detect zoneinfo zones and convert them to whatever you want (at least this line will break, for example).
The next version of
tzlocal
will switch from usingpytz
zones tozoneinfo
(which is generally a good idea), which will break this package, sincezoneinfo
zones don't have the same interface aspytz
zones.You should probably pin the version of
tzlocal
ASAP, and/or add in some logic to detectzoneinfo
zones and convert them to whatever you want (at least this line will break, for example).In the longer term, you should probably also migrate away from
pytz
and on tozoneinfo
. I have apytz-deprecation-shim
module that should help ease the pain (though it is not 100% backwards compatible - in the migration guide you'll find that the semantics of datetime addition are slightly different).The text was updated successfully, but these errors were encountered: