Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pytz to 2022.2.1 #6571

Merged
merged 1 commit into from
Nov 3, 2022
Merged

Update pytz to 2022.2.1 #6571

merged 1 commit into from
Nov 3, 2022

Conversation

legoktm
Copy link
Member

@legoktm legoktm commented Sep 28, 2022

Status

Ready for review

Description of Changes

Aside from getting 5 years worth of timezone database updates, the older release is problematic because it shipped a zip source release rather than a gzipped tarball, which our reproducible wheel scripts expect.

Fixes #6569.

Testing

  • Basic smoke testing of JI, where timestamps are shown

Deployment

Any special considerations for deployment? No.

Checklist

Aside from getting 5 years worth of timezone database updates, the
older release is problematic because it shipped a zip source release
rather than a gzipped tarball, which our reproducible wheel scripts
expect.

Fixes #6569.
Copy link
Member

@eloquence eloquence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I compared the display of timestamps in the Journalist Interface across all languages and did not spot any differences whatsoever. The JI displays dates in UTC, and makes calls to babel's dates module that do not specify a timezone. Other timezone conversions are handled via Python's datetime module. So I'm not sure that our use of pytz gets us anything right now, it's just a dependency of babel, but good to keep updated nonetheless.

@eloquence eloquence merged commit 0b76ad6 into develop Nov 3, 2022
@eloquence eloquence deleted the pytz-bump branch November 4, 2022 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update pytz to a release that uses modern source packages
2 participants