Remove dependency on pytz lib #1

Open
opened 2025-02-16 13:36:51 -06:00 by lance · 0 comments
Owner

According to https://pypi.org/project/pytz/ under Issues & Limitations:

This project is in maintenance mode. Projects using Python 3.9 or later are best served by using the timezone functionaly now included in core Python and packages that work with it such as tzdata.

As of now there are several production apps running python 3.8 so while some refactoring is needed, can't really get past this until apps are upgraded to newer python. So not sure how much priority this should get just yet.

It appears "replacement" for pytz will involve:

- migrated from https://redmine.rattailproject.org/issues/24 - created 2023-11-11 According to https://pypi.org/project/pytz/ under **Issues & Limitations**: > This project is in maintenance mode. Projects using Python 3.9 or later are best served by using the timezone functionaly now included in core Python and packages that work with it such as [tzdata](https://pypi.org/project/tzdata/). As of now there are several production apps running python 3.8 so while some refactoring is needed, can't really get past this until apps are upgraded to newer python. So not sure how much priority this should get just yet. It appears "replacement" for `pytz` will involve: - https://docs.python.org/3/library/zoneinfo.html - https://tzdata.readthedocs.io/en/latest/
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rattail/rattail#1
No description provided.