Open seasonedfish opened 1 year ago
Looks like this may relate to PySide.
Working 3.10 env deps:
(bomi) PS C:\Users\Lab\Downloads\BoMI-StartReact> python --version Python 3.10.0 (bomi) PS C:\Users\Lab\Downloads\BoMI-StartReact> pip list Package Version Editable project location ----------------- -------- -------------------------------------- black 23.3.0 BoMI 0.3.0 C:\Users\Lab\Downloads\BoMI-StartReact click 8.1.3 colorama 0.4.6 mypy 1.3.0 mypy-extensions 1.0.0 numpy 1.24.3 packaging 23.1 pathspec 0.11.1 pip 23.0.1 platformdirs 3.5.1 PyOpenGL 3.1.7 pyqtgraph 0.12.3 pyserial 3.5 PySide6 6.2.3 qtm 2.1.1 scipy 1.10.1 setuptools 67.8.0 shiboken6 6.2.3 tomli 2.0.1 types-setuptools 67.8.0.0 typing_extensions 4.6.3 wheel 0.38.4
Broken 3.11 env deps:
(.venv) (bomi) PS C:\Users\Lab\Downloads\BoMI-StartReact> python --version Python 3.11.4 (.venv) (bomi) PS C:\Users\Lab\Downloads\BoMI-StartReact> pip list pathspec 0.11.1 pip 23.1.2 platformdirs 3.6.0 PyOpenGL 3.1.7 pyqtgraph 0.12.4 pyserial 3.5 PySide6 6.5.1.1 PySide6-Addons 6.5.1.1 PySide6-Essentials 6.5.1.1 qtm 2.1.2 scipy 1.10.1 setuptools 65.5.0 shiboken6 6.5.1.1 types-setuptools 67.8.0.0 typing_extensions 4.6.3
no way
Confirmed this error also happens on 3.10 with conda. So it really is an issue with PySide.
In https://github.com/SeanezLab/BoMI-StartReact/commit/11ef6c8f24f7db1d953c2668b6d5a4119b577984, we add an additional specifier to avoid this issue. When we want to upgrade PySide, we'll have to revisit this.
Gotta check which version of PySide6 pyqtgraph supports...
If you can confirm this only happens inside pyqtgraph, you should raise an issue with them, since they explicitly support Qt6.2+
Running bomi with PySide 6.5 results in this error: