Closed jcfp closed 12 months ago
This sounds like a bug with pytz, and when I run the tests, they now pick up 2023.3.post1 where the issue doesn't exist. I tried downgrading to 2023.03 and the issue also doesn't exist. I suspect the problem exists in your environment. If you can confirm that these timezones were in fact intentionally removed, then maybe there's something this project should do, but for now, it sound like there's nothing to be done here.
Thanks for pointing me in the right direction, turns out it's a packaging change in debian and ubuntu that caused this (by dumping those older style timezones into a 'tzdata-legacy' package without warning).
Apparently the
Asia/Calcutta
timezone got removed in some recent version of pytz, which causes the doctest in schedule.py to fail.Similar failures occur in tests/test_schedule.py with
US/Pacific
andUS/Eastern
:Old vs. New: