FS#77315 - [python-pyqt5] PyQt5.Qt doesn't have QValidator
Attached to Project:
Arch Linux
Opened by Daniel Estévez (destevez) - Sunday, 29 January 2023, 12:40 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 29 January 2023, 18:17 GMT
Opened by Daniel Estévez (destevez) - Sunday, 29 January 2023, 12:40 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 29 January 2023, 18:17 GMT
|
Details
Description:
After upgrading from python-pyqt5 5.15.7-3 to 5.15.8-1, I have seen that QValidator is missing from PyQt5.Qt. To reproduce the problem, we can run the following in a Python interpreter: import PyQt5.Qt PyQt5.Qt.QValidator This works with python-pyqt5-5.15.7-3 but doesn't work with python-pyqt5-5.15.8-1. The fact that QValidator is missing breaks gnuradio-companion. |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 29 January 2023, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: python-pyqt5 5.15.8-2
Sunday, 29 January 2023, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: python-pyqt5 5.15.8-2
Traceback (most recent call last):
File "/usr/share/carla/carla", line 22, in <module>
from carla_host import *
File "/usr/share/carla/carla_host.py", line 53, in <module>
import ui_carla_host
File "/usr/share/carla/ui_carla_host.py", line 847, in <module>
from widgets.draggablegraphicsview import DraggableGraphicsView
File "/usr/share/carla/widgets/draggablegraphicsview.py", line 30, in <module>
from carla_shared import MACOS, CustomMessageBox, gCarla
File "/usr/share/carla/carla_shared.py", line 41, in <module>
from PyQt5.Qt import PYQT_VERSION_STR
ImportError: cannot import name 'PYQT_VERSION_STR' from 'PyQt5.Qt' (/usr/lib/python3.10/site-packages/PyQt5/Qt.abi3.so)