FS#64514 - [pyside2] pyside2 broken with python 3.8: 'Shiboken.ObjectType' object is not iterable
Attached to Project:
Arch Linux
Opened by lhfk (lhfk) - Friday, 15 November 2019, 16:34 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 19 December 2019, 16:02 GMT
Opened by lhfk (lhfk) - Friday, 15 November 2019, 16:34 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 19 December 2019, 16:02 GMT
|
Details
Description:
With pyside2-5.13.2-2, in any module where at least 2 QObject-derived class declarations appear, Python throws TypeError: 'Shiboken.ObjectType' object is not iterable on the 2nd class declaration. Steps to reproduce: Execute the following code: from PySide2 import QtWidgets as QW class A(QW.QWidget): pass class B(QW.QWidget): pass |
This task depends upon
Closed by Antonio Rojas (arojas)
Thursday, 19 December 2019, 16:02 GMT
Reason for closing: Fixed
Additional comments about closing: pyside2 5.14.0
Thursday, 19 December 2019, 16:02 GMT
Reason for closing: Fixed
Additional comments about closing: pyside2 5.14.0
The problem is that PySide2 doesn't currently support Python 3.8, so it has nothing to do with Arch Linux. Also, please read the comment that says "Hopefully, this will be solved for 5.14, which is the first release of Python 3.8 compatibility (hopefully).".
https://code.qt.io/cgit/pyside/pyside-setup.git/log/?h=5.14
In the comment immediately above yours, arojas indicated he's tried to backport relevant commits, and they don't apply to 5.13