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

fix: Disable very old date in timezone test for CI #18935

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

orlp
Copy link
Collaborator

@orlp orlp commented Sep 26, 2024

No description provided.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Sep 26, 2024
datetime(1677, 9, 22, tzinfo=ZoneInfo("EST")),
# Very old dates with a timezone like EST caused problems for the CI due
# to the IANA timezone database updating their historical offset, so
# these have been disabled for now. A mismatch between the timezone
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it likely that this mismatch will ever be solved and that's why the tests are commented out or would it be better to just delete the two old dates?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@rodrigogiraoserrao We might resolve it in the future by loading Python's timezone information instead of hard-baking chrono_tzs timezone database in Polars. And even if we never resolved it I still think it's better to leave the old dates with the explanation so that one in the future might not think to re-add old dates again to 'improve the test'.

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.87%. Comparing base (aec911f) to head (0ed765c).
Report is 34 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18935   +/-   ##
=======================================
  Coverage   79.86%   79.87%           
=======================================
  Files        1522     1522           
  Lines      206951   206951           
  Branches     2906     2906           
=======================================
+ Hits       165289   165304   +15     
+ Misses      41114    41099   -15     
  Partials      548      548           

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

@orlp orlp added the do not merge This pull requests should not be merged right now label Sep 26, 2024
@orlp orlp removed the do not merge This pull requests should not be merged right now label Sep 26, 2024
@orlp orlp merged commit d85240d into pola-rs:main Sep 26, 2024
13 checks passed
@c-peters c-peters added the accepted Ready for implementation label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants