-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
PR: Compatibility fixes for Spyder 6.0.0 beta 1 #457
Conversation
This follows the new API after PR spyder-ide/spyder#21844.
Mirror how config dialogs are tested in main Spyder repo for consistency.
As a side-effect of PR spyder-ide/spyder#21734, a QApplication needs to be running before importing spyder.plugins.preferences.widgets.configdialog. Moving the import inside a function achieves this.
* The test that no console was opened did not work because this can be done asynchronously, so instead test for the signal requesting that the console be opened. * The test now only needs the main widget, not the plugin, so move it accordingly.
Hello @jitseniesen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-06-17 07:27:27 UTC |
* This is to get Node 20 because older versions are deprecated. * Also replace Replace mambaforge by miniforge now that conda uses the same solver as mamba.
I just gave this a try on top of the current 0.5.1 release and it still has one failure:
Do you have any clue which patch I am missing to fix this? I'm trying to backport this PR to fix the package in openSUSE Tumblweed. |
You're right, openSUSE is still on Spyder 5.5.4, so the testsuite failures I was hoping to fix with this PR are unrelated. Sorry for the noise. |
I am merging this even though the CI tests do not pass so that I can continue work. I opened an issue so that I don't forget to fix the tests later. |
Before, the Spyder source tree was nested inside the plugin source tree which was messy and may have generated errors.
Two commits due to changes in Spyder API, change required version, and changes to make the tests run.