-
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
Include MNELAB #163
Include MNELAB #163
Conversation
Closes #82
The ARM build is expected to fail, as we're still waiting for the migration to complete on conda-forge |
All green except ARM as expected, great! |
If you have time, could you download and test the artifacts? Also I think we need some sort of CI test for MNELAB Mind you, I believe we now have Qt5 and Qt6 installed in parallel! Who knows what kind d of interactions might occur 😱 |
We should just switch to Qt6, the rest of MNE should be compatible with it already I'll test on my M1 once it's working there :) |
... actually I'm not sure if mayavi is compatible. We'd need to check for mne-kit-gui :( |
I don't think spyder supports |
I remember the conda-forge folks spending quite some time to ensure isolation between Qt5 and Qt6, so at least in theory things should work. But who knows how well downstream packages can handle the simultaneous presence of both |
The ARM build is now on conda-forge, restarting CI. |
Ouch, dependency resolution error 😳 this is going to be a pain to pin down 😑 |
Locally on M1 when I try to make an env with our package list I get:
which is weird because the builds for other Python versions do show up in https://anaconda.org/conda-forge/mnelab/files . Maybe CDNs are just way behind or something? |
Looks like it's actually a conflict with
I get:
Rolling back to vtk 9.1 doesn't help because then there are conflicts with openmeeg :( |
Is there anything MNELAB can do to help solve this conflict? I'm not pinning any dependencies (only |
@larsoner I suspect it has to do with me pinning matplotlib to the latest version... But 3.6.2 is required to work around bugs in PySide 6.4 😩 |
This assumption was incorrect. I can reproduce the issue by simply requesting vtk and pyside6.
We should get in touch with the VTK feedstock maintainers. |
I reported it to the VTK and PySide6 feedstock maintainers: conda-forge/vtk-feedstock#269 |
Great @hoechenberger ! Now we wait ... |
@larsoner Could be a long time… |
I think we should simply build the M1 installers without MNELAB, as the ETA of the OpenSSL migration, which seems to be required to resolve the issue, is unclear (and probably a few months away) |
Works for me, feel free to take out of draft mode and mark for merge-when-green @hoechenberger |
@larsoner Are we sure the Windows installer problems @mscheltienne observed recently are gone now, too? I cannot test, unfortunately |
I tested locally on Windows last week and things were fine |
Great! Enabling automerge. |
I don't remember exactly our discussion, but MNELAB should work fine even without this patch. Installing both PySide6 and PyQt6 in parallel should also work. |
No, we had trouble installing both in parallel, unfortunately. And Matplotlib doesn't work with PySide6 without the patch adding the input hook |
Do you remember what exactly the problem was? I always have both packages installed and everything works. |
Yes but you don't work with conda-forge packages, do you? |
No. But I can try if you want. |
@hoechenberger I can install both |
Parallel installation does work fine, but we had trouble actually using it then. There was confusion regarding the shared libraries in some situations. Just installing is not enough of a test There is no PyQt6 on conda-forge, only PySide6 |
I ran MNELAB and imported both PySide6 and PyQt5. If you can point me to the issue I could try if the problem still exists. |
There's a test case here in this branch in build.yml |
OK, yes, it seems like |
Thanks @cbrnr! |
Any chance to transition to |
I've used
In summary, I'm open to switching back, but these issues need to be addressed. The second one is not a real issue, because AFAIR I'm not even using PySide6-specific features. This article contains all the details: https://www.pythonguis.com/faq/pyqt6-vs-pyside6/ They mention a custom solution to support both PyQt6 and PySide6, maybe that would be an option. But I still don't know how to handle requirements even in this case. |
This should work now: |
My understanding is that now, thanks to conda-forge/qt-main-feedstock#167, parallel installation of Qt5 and Qt6 should work. Since we still don't have PyQt6 on conda-forge, we have to rely on PySide6. But the following issue / PR is stalled: @cbrnr Feel like bumping this again? |
Yes. Here's the corresponding issue: https://bugreports.qt.io/browse/PYSIDE-2192 |
@hoechenberger maybe you (and others) could vote for this issue to show that it is important? |
@cbrnr I just voted for this issue |
Thanks! But unfortunately, the answer is not promising. I don't even see the error on Windows. I mean, I probably wouldn't be able to help anyway, but do we know someone who could? |
I'm really surprised this issue isn't high-prio for them. Are we potentially missing something obvious here? Shouldn't there be literally masses of users running into this problem? |
Hard to say. On macOS, people get to use the |
@cbrnr Any changes here..? |
Not that I know of. My list of caveats still applies, if you mean switching to qtpy. |
I meant the problem that Matplotlib had with PySide6. It seems the issue inside PySide6 still hasn't been addressed; but I was hoping that maybe MPL devs found some workaround. I cannot believe this is just going unaddressed for so long??? Is nobody using that? I don't get it? |
Closes #82
Just want to see if it works