arrow-py / arrow

๐Ÿน Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.67k stars 668 forks source link

Use zoneinfo for timezone handling instead of pytz #1179

Open saranti opened 2 months ago

saranti commented 2 months ago

Pull Request Checklist

Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:

If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!

Description of Changes

Closes #1175. Remove all pytz code and replace it with the equivalent from zoneinfo and use a backport for python versions <3.9.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.91%. Comparing base (87a1a77) to head (d3fe586). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1179 +/- ## =========================================== - Coverage 100.00% 99.91% -0.09% =========================================== Files 10 10 Lines 2326 2324 -2 Branches 400 400 =========================================== - Hits 2326 2322 -4 - Misses 0 1 +1 - Partials 0 1 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.