Details
Description
this code:
from PySide6.QtGui import QActionGroup from PySide6.QtWidgets import * QApplication([]) assert isinstance(QFileDialog(), QWidget)
Passes on 6.6.3.1 but fails on 6.7.0. Commenting out the QActionGroup import or not using star import for QtWidgets makes it pass. Moving the QActionGroup import to after the star import makes it pass. Originally observed in much more cryptic form in CI runs such as [this one|#step:10:86].] , but replicated locally on Ubuntu 23.10 with Python 3.11.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2677 Importing `PySide6.QtCore` causes TypeErrors everywhere
- Closed
- relates to
-
PYSIDE-2676 Segfault on Linux when using mne_qt_browser (Python 3.12/meta classes)
- Closed