-
Notifications
You must be signed in to change notification settings - Fork 10
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
Drop support for Python 3.7 #252
Conversation
Please could you also bump |
(Probably also |
Codecov Report
@@ Coverage Diff @@
## master #252 +/- ##
=======================================
Coverage 74.11% 74.11%
=======================================
Files 13 13
Lines 2503 2503
Branches 597 602 +5
=======================================
Hits 1855 1855
+ Misses 428 426 -2
- Partials 220 222 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
It seems the set of required tests needs to be updated - github's repo settings maybe? |
Yes. Done now! We should probably also remove python-3.7 in the |
Any idea why the tests time out now? It cannot be related to the change? |
No, looking back through previous Action runs, something made them jump up to 6h! |
This is the last successful run, across all branches, and it took under an hour: https://github.com/boutproject/xBOUT/actions/runs/3135003875 |
both xarray and dask where updated to 2022.10.0 |
I have started runs to debug: old dask: https://github.com/boutproject/xBOUT/actions/runs/3271985035 old xarray: https://github.com/boutproject/xBOUT/actions/runs/3271980130 |
Yeah, I just checked locally, upgrading to those versions is a massive slowdown |
Reported as pydata/xarray#7181 Did you figure out what is slower? Or did you just run the tests? |
I wondered if it got stuck on the last few tests perhaps and ran I've not checked any others yet, but I'll run with |
It seems to be xarray rather than dask - I ran |
|
See pydata/xarray#7181 (comment) for a bit more detail -- it seems it's basically all coming from copying arrays. Are we copying too much and/or in the wrong places? |
Sorry, ignore that - I just used the wrong conda environment. All the stuff is slow 😞 |
From what I can tell, the proximate cause is It looks like this is also a substantial part of the runtime even with xarray 2022.06, so it's probably worth trying to optimise it anyway. |
The regions stuff I was never super-happy with from a performance point of view. Possible optimisation:
|
Just switch to FCI - avoid the separate regions all together :-) Can we merge this in the mean time, so I can include this in the other PRs, to make sure they don't break the tests? |
No description provided.