astroplan icon indicating copy to clipboard operation
astroplan copied to clipboard

Use dateutil.tz over pytz ?

Open pllim opened this issue 1 year ago • 3 comments

Brought up at Astropy ALOHA 2024. cc @ejeschke @eteq

https://dateutil.readthedocs.io/en/stable/tz.html

pllim avatar Dec 04 '24 00:12 pllim

Might have to drop some really old Python versions, but not sure.

pllim avatar Dec 04 '24 00:12 pllim

Just looked and it seems like pytz is only needed in python version < 3.9, and I think that means it's not a big issue. There would need to be a change from pytz.timezone to zoninfo.ZoneInfo.

eteq avatar Dec 04 '24 01:12 eteq

So should we bump minversions and be done with it?

pllim avatar Dec 04 '24 09:12 pllim