Replace `pytz` dependency with `zoneinfo`
Python 3.9+ includes zoneinfo, which would presumably allow us to replace the pytz third-party dependency with time-zone machinery included in Python's standard library.
Since we need to support Python 3.7 and 3.8 for a while, we could use the corresponding back-ported package for users on older Python versions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your participation and understanding.
Useful related thread on this topic: https://twitter.com/AdamChainz/status/1562359913162104832
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your participation and understanding.
I think this is still valid. There are guides to help migrating from pytz to zoneinfo https://pytz-deprecation-shim.readthedocs.io