ANN: PyQt v6.8.1 Released

Phil Thompson phil at riverbankcomputing.com
Fri Feb 7 10:27:43 GMT 2025


On 06/02/2025 20:53, Barry Walter wrote:
> 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('::')

Fixed - thanks.

Phil


More information about the PyQt mailing list