ANN: PyQt v6.8.1 Released

Barry Walter bazwal at gmail.com
Thu Feb 6 20:53:30 GMT 2025


On 06/02/2025 12:37, Phil Thompson wrote:
> PyQt v6.8.1 has been released. This adds support for the QtStateMachine module.
> 
> The Qt v6.8.2 wheels have also been uploaded to pypi.org.

Hello Phil

There's a bug in pyuic when parsing ui files that include fully scoped alignment flags:

       File "/usr/lib/python3.13/site-packages/PyQt6/uic/uiparser.py", line 61, in _parse_alignment
         _, qt_align = qt_align.split('::')
         ^^^^^^^^^^^
     ValueError: too many values to unpack (expected 2)

This obviously needs to handle either two or three values, so something like the following should work:

     *_, qt_align = qt_align.split('::')




More information about the PyQt mailing list