But ./gen_tzinfo.py in python-tz adds extra timezones it believes
should be present, including some backwards-compatible entries such as >"US/Pacific". Adding these timezones is possible, but I am loath to
diverge from tzdata..
Any opinions or recommendations?
I got bit (not in pytz) by US/Pacific disappearing, so I understand
the annoyance from the user perspective. However, as that is what has >happening in tzdata, I don't think we should have individual packages
trying to fight that individually/haphazardly.
If you patch US/Pacific back in manually, then you have two problems:
1. Things are inconsistent. For example, US/Pacific works in Python,
but not in systemd. (I realize that's the state that upstream pytz is >creating already, but you needn't follow them down this road.)
2. You will never know when it's acceptable to remove these, so you'll
feel stuck carrying that forever. (On the other hand, you are just
following upstream pytz, so you can say it's their problem. But, they
will definitely have this same problem of not knowing when to remove
the backwards compatibility.)
Option C would also keep the whole system consistent. But in that
scenario, installing python-tz indirectly adds system-wide timezone
values. I'm hesitant about that idea; it feels like "spooky action at
a distance".
As a sysadmin, I could see that leading me to
troubleshoot, "Why does this systemd timer that uses US/Pacific work
on system A, but not system B?" or "Why does `TZ=US/Pacific date` work
on some terminals and not others?" The answer, "Because system A
installed software P that depends on python-tz, so that pulled in >tzdata-legacy.", would feel surprising once I found it. This is
heavily my personal opinion, though.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 173:29:20 |
Calls: | 9,704 |
Calls today: | 4 |
Files: | 13,736 |
Messages: | 6,178,636 |