pyqt: Updated formula with Python 3 support

Related to issue #25735