[Bug 1038377] New: python3-qt* tries to import non-existent __version__ property from PySide
http://bugzilla.opensuse.org/show_bug.cgi?id=1038377 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 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038377 http://bugzilla.opensuse.org/show_bug.cgi?id=1038377#c1 --- Comment #1 from Andy Mender <andymenderunix@gmail.com> --- I contacted the team at https://github.com/spyder-ide/qtpy/issues/116 to let them know something's wrong. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038377 Sebastian Wagner <sebix+novell.com@sebix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebix+novell.com@sebix.at -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038377 http://bugzilla.opensuse.org/show_bug.cgi?id=1038377#c2 Sebastian Wagner <sebix+novell.com@sebix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andymenderunix@gmail.com Flags| |needinfo?(andymenderunix@gm | |ail.com) --- Comment #2 from Sebastian Wagner <sebix+novell.com@sebix.at> --- With python3-QtPy at version 1.2.1 on TW I have no problems. Do you still experience this problem? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1038377 http://bugzilla.opensuse.org/show_bug.cgi?id=1038377#c3 Sebastian Wagner <sebix+novell.com@sebix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED See Also| |https://github.com/spyder-i | |de/qtpy/issues/116 Resolution|--- |FIXED Assignee|jmatejek@suse.com |sebix+novell.com@sebix.at Flags|needinfo?(andymenderunix@gm | |ail.com) | --- Comment #3 from Sebastian Wagner <sebix+novell.com@sebix.at> --- Seems a update of the package(s) fixed this. The version is not importable but this is not a problem as long as no library depends on it. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com