-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MRG, MAINT: Fix PySurfer-related crash #7295
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7295 +/- ##
==========================================
- Coverage 89.82% 89.07% -0.75%
==========================================
Files 447 447
Lines 80694 80974 +280
Branches 12876 13032 +156
==========================================
- Hits 72482 72131 -351
- Misses 5385 6050 +665
+ Partials 2827 2793 -34 |
Trying again with a new approach that changes PySurfer's |
Neither worked :( Next I'll see if it's a PyVista or Mayavi problem by removing each of those. PyVista: |
Pushed a commit to try to clean things up explicitly with
|
It looks like this might fix our sporadic failures. I'll go ahead and merge if we get through 10 iterations without error, okay @GuillaumeFavelier @agramfort ? |
It's okay for me |
yes... although the diff is puzzling... |
Briefly, from what I understand:
Thus you can end up in some test creating a This PR works around this corner case stuff by forcing GC. Eventually we should probably fix PySurfer, too, but even once we do, these GC calls shouldn't hurt anything. |
thanks for the explanations
… |
This behavior might also now be fixed by nipy/PySurfer#285, but I plan to merge this PR to MNE after test #10 so that we can have stable CIs again while we wait for that to be merged (and released, etc.) |
* WIP: Try to fix crash * WIP: Second try * WIP: Remove PyVista * FIX: Try another method
* WIP: Try to fix crash * WIP: Second try * WIP: Remove PyVista * FIX: Try another method
Let's see if larsoner/mayavi@c2a8a23 fixes our Azure failures. Based on the traceback it might.
Will require several restarts of the Azure runs because this is a bit of a random bug.