Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pytz dependency with zoneinfo #2958

Closed
justinmayer opened this issue Dec 11, 2021 · 4 comments · Fixed by #3161 or #3165
Closed

Replace pytz dependency with zoneinfo #2958

justinmayer opened this issue Dec 11, 2021 · 4 comments · Fixed by #3161 or #3165

Comments

@justinmayer
Copy link
Member

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.

@stale
Copy link

stale bot commented Apr 18, 2022

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.

@stale stale bot added the stale Marked for closure due to inactivity label Apr 18, 2022
@justinmayer justinmayer removed the stale Marked for closure due to inactivity label Jul 21, 2022
@justinmayer
Copy link
Member Author

Useful related thread on this topic: https://twitter.com/AdamChainz/status/1562359913162104832

@stale
Copy link

stale bot commented Nov 2, 2022

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.

@stale stale bot added the stale Marked for closure due to inactivity label Nov 2, 2022
@pauloxnet
Copy link
Member

I think this is still valid.
There are guides to help migrating from pytz to zoneinfo
https://pytz-deprecation-shim.readthedocs.io

@stale stale bot removed the stale Marked for closure due to inactivity label Nov 2, 2022
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
willthong added a commit to willthong/pelican that referenced this issue Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants