Skip to content

Support the new name of sip module that is used since PyQt v5.11.2

Dmitry Shachnev requested to merge dmitryshachnev/kajongg:sip-module-name into master

For details, see:

I have verified that on my system the PyQt5.sip module (from PyQt 5.15.2 Debian package) contains all names that are used in Kajongg:

>>> from PyQt5 import sip
>>> sip.unwrapinstance 
<built-in function unwrapinstance>
>>> sip.SIP_VERSION_STR
'5.4.0'
>>> sip.cast
<built-in function cast>

Note for future: in PyQt6 the sip module is named PyQt6.sip.

Merge request reports