Plans for PyQt6?

Phil Thompson phil at riverbankcomputing.com
Tue Apr 28 19:40:50 BST 2020


On 28/04/2020 19:34, Florian Bruhin wrote:
> On Tue, Apr 28, 2020 at 08:28:32PM +0200, Grzegorz Bokota wrote:
>> There are any plans to add Python stubs files in PyQt5 or PyQt6?
> 
> PyQt5 already comes with stub-files, though they are mostly optimized 
> for IDE
> completion rather than type checking.
> 
> There are community-maintained stubs for mypy here:
> https://github.com/stlehmann/PyQt5-stubs
> 
> Right now, most of the conversions needed are manual, though there are 
> some
> ideas on how to further automate stuff floating around.
> 
> Phil: You mentioned at some point that the generator part of SIP is 
> being
> rewritten in Python as well, correct? I suppose this wouldn't be a good 
> time
> for contributions to SIP to improve stubs upstream then? Is there any 
> rough
> timeline on a Python-based SIP generator?

Nothing specific but it’s not tied to any other plans.

Phil


More information about the PyQt mailing list