-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Restrict pint test runs #8437
Comments
What's the current feasibility of moving these tests out into pint-xarray? That's technically where they should live eventually imo |
should be possible, but running them in |
we switched from numpy 1.24.X to 1.26 4 days ago, but stay at pint 0.20.1 when the latest is 0.22. Presumably some compatibility code for the array_function codepath was removed. EDIT: removing the pin in #8445 still gave same versions 🤷🏾♂️ |
For more details about this change, see #7420 (comment) (I totally forgot I had fixed that). The first version to include that fix is indeed |
Would it be possible to have some opt-in for those tests? It helped catching some regressions a couple of times during the index refactor so I think they are useful (although I agree more generic tests might be good if possible). But in general I found that running those tests takes a significant part of running the whole xarray test suite. |
the issue with opt-in is that they might not run at all, which means that any bugs they would have caught will slip by unnoticed. However, those tests being slow is a fair point, and I think this is something we can change: when writing these, speed was not one of the things I had in mind. |
Yes they should be run at least once! Are they run in all, many or just a few items of the CI matrix? Would it be possible to opt-in for just one or a few matrix items if that's not the case already? |
so far, every environment other than the |
We could have one environment that runs |
This seems like overkill, couldn't we just remove pint from a few of the envs? Depends which tests you want to run more quicky @benbovy ? |
What is your issue?
Pint tests are failing on main — https://github.com/pydata/xarray/actions/runs/6817674274/job/18541677930
If we can't fix soon, should we disable?
CC @keewis
The text was updated successfully, but these errors were encountered: