-
Notifications
You must be signed in to change notification settings - Fork 21
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
Transition to PySide6 #45
base: main
Are you sure you want to change the base?
Conversation
…er and taskrunner GUI. The jupyter project is using qtpy (more trouble than it's worth) but the current PyPI release is not supporting PySide6 yet. Had to install 2.0.0dev from source.
# Conflicts: # setup.py # src/qudi/util/uic.py
See also the corresponding PR to qudi-iqo-modules: Ulm-IQO/qudi-iqo-modules#69 |
Hi @qku, thank you for taking an interest in the very foundation of So what do we need to make the switch? The transition to TL;DR: |
@Neverhorst I would argue that Currently, we have our own code for running our lab equipment, but I was looking for some more architecture as it scales up and requires more maintainability. We've recently updated to 3.11 and noticed considerable performance gains when running live graphs using I understand the importance of tests and a smooth transition process, but since the API is mainly the same between versions, the breaking changes are minimal. On the other hand, maybe you should consider switching to |
@wkrasnicki I did not say we do not want to upgrade to What I would like to avoid (because it always happens over and over again) is implementing a big change and "testing" only being done for "the stuff that I personally need" a.k.a. "works for me". ALL library toolchains need to be tested at least once. Regarding |
@Neverhorst I understand. What were your issues with This is already supported in other libraries like |
@wkrasnicki Well, back in the day we had lots of trouble with the installation and the configuration of |
Ah, understandable. |
And I mean for 99% of the use cases transitioning from If larger parts of the community are convinced that having a configurable Internally we also had longer discussions about that topic years ago so it's not like the team or myself are adamant in this opinion. 😉 |
I see. In my experience I have mostly dealt with the 99% of cases, you've mentioned ;) I didn't realize qudi fell in the remaining 1%. I guess we'll switch to PySide when porting our GUIs to qudi then. |
In the meantime I found a way to run qudi on macOS with Apple Silicon ARM chip (M1/M2):
|
Description
I played around with qudi-core and the dummies in qudi-iqo-modules trying to make them compatible with PySide6/Qt6.
Most changes are simple replacements of
from PySide2 import ...
withfrom PySide6 import ...
. Points I am unsure of areQT_API
environment variableMotivation and Context
I am sure that there are many good reasons to eventually transition to PySide6. Personally, I was motivated to play around with this since I am mostly developing on a laptop with Apple Silicon processor which does not support PySide2.
How Has This Been Tested?
At first, I tried to simply get the manager gui to start. Then, I tried loading all dummy modules from the qudi-iqo-modules default config file.
Types of changes
Checklist:
/docs/changelog.md
.(syntax, indentation, mutable default values, etc.).