<div dir="ltr"><div>In many PyQt6 stubs file, abstract collections from `collections.abc` are used, but the import is `collections` which breaks pyright (seeĀ <a href="https://github.com/microsoft/pyright/issues/5241">https://github.com/microsoft/pyright/issues/5241</a>), which is one of the most commonly used type checker.</div><div><br></div><div>An easy fix would to import `collections.abc` instead of simply `collections` (or both if both are needed) in the stubs file.</div><div><br></div><div>Holt59</div></div>