Bug ID | 1038377 |
---|---|
Summary | python3-qt* tries to import non-existent __version__ property from PySide |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Major |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | anpaby5@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Applications relying on Python3 Qt bindings will fail. The qtpy module tries to import the __version__ object from the PySide module, while this module has no such property. The __version__ property existed in the Python2 version of PySide, but was deprecated in its Python3 version. The affected packages are: python3-qt4 and/or python3-qt5 python3-pyside spyder3 and any programs requiring the Python3 Qt bindings Python3 traceback: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/qtpy/__init__.py", line 119, in <module> from PySide import __version__ as PYSIDE_VERSION # analysis:ignore ImportError: cannot import name '__version__' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/spyder3", line 3, in <module> start.main() File "/usr/lib/python3.6/site-packages/spyder/app/start.py", line 103, in main from spyder.app import mainwindow File "/usr/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 49, in <module> requirements.check_qt() File "/usr/lib/python3.6/site-packages/spyder/requirements.py", line 39, in check_qt import qtpy File "/usr/lib/python3.6/site-packages/qtpy/__init__.py", line 125, in <module> raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found