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

Pin pandas yet again 🐼 test_icon fails again with pandas=2.2.2 #2394

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

valeriupredoi
Copy link
Contributor

@valeriupredoi valeriupredoi commented Apr 12, 2024

Description

Tests are failing with the same issue we had in the past, described by @schlunma in #2305 and with an original bug report in pandas at pandas-dev/pandas#57002 - they just switched the milestone for that for 2.2.3 apparently!


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

Copy link

codecov bot commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.28%. Comparing base (e2c68e7) to head (52073c5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2394   +/-   ##
=======================================
  Coverage   94.28%   94.28%           
=======================================
  Files         246      246           
  Lines       13511    13511           
=======================================
  Hits        12739    12739           
  Misses        772      772           

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

@schlunma schlunma added this to the v2.11.0 milestone Apr 14, 2024
Copy link
Contributor

@schlunma schlunma left a comment

Choose a reason for hiding this comment

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

Thanks V, just one tiny comment!

We should maybe think about fixing this in the code, it's really annoying to pin pandas every month..

From the issue description here it looks like scalar time points are correctly rounded, i.e., the following should work:

[d.round('s') for d in datetime_array]

environment.yml Outdated Show resolved Hide resolved
Co-authored-by: Manuel Schlund <[email protected]>
@valeriupredoi
Copy link
Contributor Author

thanks a lot, Manu! I too agree with fixing the test rather than pinning the ninja bears, but I didn't have the will to look at it closer - good call you did, you mind opening a PR with the fix pls, bud? 🍺 In the meantime this will do 🐼

@valeriupredoi valeriupredoi merged commit 6cf32c7 into main Apr 15, 2024
6 checks passed
@valeriupredoi valeriupredoi deleted the fix_test_icon branch April 15, 2024 12:12
@chrisbillowsMO chrisbillowsMO changed the title Pin blithering pandas yet again 🐼 test_icon fails again with pandas=2.2.2 Pin pandas yet again 🐼 test_icon fails again with pandas=2.2.2 May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants