PyQt v6.12.1 Wheels Available for Testing
Phil Thompson
phil at riverbankcomputing.com
Sat Nov 14 17:20:00 GMT 2026
On 14/11/2026 16:03, Veronica Berglyd Olsen wrote:
>> The PyQt v6.12.1 wheels are available for testing at the local pypi
>> server. There are .1 releases of all other wheels as well.
>>
>> Hopefully these resolve all the outstanding issues.
>>
>> Phil
>>
>
> The typing stubs for 6.12.1 now generate a two new errors for me with
> pyright
>
> 1. For pyqtSignal it gives:
>
> error: Argument missing for parameter "arguments" (reportCallIssue)
>
> So arguments is now a required parameter, which it shouldn't be.
>
> QtCore.pyi:
>
> class pyqtSignal:
>
> signatures: tuple[str, ...]
>
> def __init__(self, *types: typing.Any, name: str = ..., revision:
> int = ..., arguments: collections.abc.Sequence[str]) -> None: ...
>
>
> 2. For subclasses of QWidget (at least) it requires that the super is
> initialised with Self, instead of previous QObject | None, so all my
> subclasses require I pass self to the super.
>
> error: Argument of type "QWidget" cannot be assigned to parameter
> "parent" of type "Self at _NewProjectForm" in function "__init__"
>
> QtWidgets.pyi
>
> class QWidget(QtCore.QObject, QtGui.QPaintDevice):
>
> class RenderFlag(enum.Flag):
> DrawWindowBackground: QWidget.RenderFlag
> DrawChildren: QWidget.RenderFlag
> IgnoreMask: QWidget.RenderFlag
>
> def __init__(self, /, parent: typing.Self = ..., flags:
> QtCore.Qt.WindowType = ...) -> None: ...
>
>
> Veronica Berglyd Olsen
These will have to wait until the next release.
Thanks,
Phil
More information about the PyQt
mailing list