Skip to content

Conversation

@akx
Copy link
Member

@akx akx commented Mar 20, 2025

Noticed FixedOffsetTimezones didn't unpickle, and then realized we shouldn't use them at all.

@akx akx force-pushed the fixed-offset-tz branch from cf5ccc2 to 77da5a3 Compare March 20, 2025 07:58
@codecov
Copy link

codecov bot commented Mar 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.69%. Comparing base (2e56a2a) to head (a5e8d85).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1203      +/-   ##
==========================================
- Coverage   91.71%   91.69%   -0.03%     
==========================================
  Files          27       27              
  Lines        4696     4696              
==========================================
- Hits         4307     4306       -1     
- Misses        389      390       +1     
Flag Coverage Δ
macos-14-3.10 90.73% <100.00%> (-0.03%) ⬇️
macos-14-3.11 90.67% <100.00%> (-0.03%) ⬇️
macos-14-3.12 90.88% <100.00%> (-0.03%) ⬇️
macos-14-3.13 90.88% <100.00%> (-0.03%) ⬇️
macos-14-3.8 90.60% <100.00%> (-0.03%) ⬇️
macos-14-3.9 90.66% <100.00%> (-0.03%) ⬇️
macos-14-pypy3.10 90.73% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-3.10 90.75% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-3.11 90.69% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-3.12 90.90% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-3.13 90.90% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-3.8 90.62% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-3.9 90.68% <100.00%> (-0.03%) ⬇️
ubuntu-24.04-pypy3.10 90.54% <100.00%> (-0.03%) ⬇️
windows-2022-3.10 90.74% <100.00%> (-0.03%) ⬇️
windows-2022-3.11 90.68% <100.00%> (-0.03%) ⬇️
windows-2022-3.12 90.89% <100.00%> (-0.03%) ⬇️
windows-2022-3.13 90.89% <100.00%> (-0.03%) ⬇️
windows-2022-3.8 90.72% <100.00%> (-0.03%) ⬇️
windows-2022-3.9 90.67% <100.00%> (-0.03%) ⬇️
windows-2022-pypy3.10 90.74% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@akx akx marked this pull request as ready for review March 20, 2025 08:05
@akx akx requested a review from tomasr8 March 20, 2025 08:05
"""
Fixed offset in minutes east from UTC.
DEPRECATED: Use the standard library `datetime.timezone` instead.
Copy link
Member

Choose a reason for hiding this comment

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

(Drive-by review, I'll try to review this thoroughly later) We could also add a module getter that raises a deprecation warning when this class is accessed/imported (or even when it's instantiated maybe?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, why not!

@akx akx force-pushed the fixed-offset-tz branch 2 times, most recently from cd1dfb7 to c16c01a Compare March 20, 2025 13:24
@akx akx force-pushed the fixed-offset-tz branch from c16c01a to a5e8d85 Compare March 20, 2025 13:48
@akx akx merged commit 3ce1e61 into master Mar 21, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants