Skip to content

Drop support for pytz#155

Closed
bdrung wants to merge 1 commit into
pallets-eco:mainfrom
bdrung:zoneinfo
Closed

Drop support for pytz#155
bdrung wants to merge 1 commit into
pallets-eco:mainfrom
bdrung:zoneinfo

Conversation

@bdrung

@bdrung bdrung commented Jun 16, 2025

Copy link
Copy Markdown
Contributor

Replace pytz with zoneinfo which is part of the Python standard library since Python 3.9.

Bug-Ubuntu: https://launchpad.net/bugs/2101044

@potiuk

potiuk commented Jun 21, 2025

Copy link
Copy Markdown
Contributor

Nice. Happy to get to 3.9+ and replace it -> what's still needed there?

@bdrung

bdrung commented Jun 21, 2025

Copy link
Copy Markdown
Contributor Author

Fixing the DST handling is missing. The DST handling is completely broken when using zoneinfo.

Good news: I think I came up with a working algorithms. I just need to implement that idea. Stay tuned.

Replace pytz with zoneinfo which is part of the Python standard library
since Python 3.9.

Bug-Ubuntu: https://launchpad.net/bugs/2101044
@bdrung

bdrung commented Jun 26, 2025

Copy link
Copy Markdown
Contributor Author

This commit is now part of #177 which rewrites the DST handling to support zoneinfo.

@bdrung bdrung closed this Jun 26, 2025
@bdrung bdrung deleted the zoneinfo branch June 26, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants