python-dateutil should use system-wide zoneinfo data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dateutil |
New
|
Undecided
|
Unassigned |
Bug Description
Originally reported at https:/
python-dateutil installs a tarball with compiled zoneinfo files to Python's site-packages directory. To actually get the data, the code then extracts the requested zone from the tarball and reads it. This scheme is problematic to keep up to date (the data in current rawhide is from 2010, the data in my f14 from 2008), and needlessly complicated. I'd like to propose that files from /usr/share/zoneinfo are instead opened directly. It shouldn't be necessary to install the tarball at all.
Version-Release number of selected component (if applicable):
1.5-1
How reproducible:
Always.
Steps to Reproduce:
$ python -c 'import dateutil.zoneinfo; print dateutil.
Actual results:
None
Expected results:
tzfile(