sipPyTypeDict() is deprecated,

ullix ullix at urkam.de
Mon Jan 29 09:20:33 GMT 2024


Upgrading PyQt5 to 5.15.10 resulted in the problem, I had reported earlier:

from PyQt5.QtWidgets                import *
ImportError: 
/home/ullix/geigerlog/geigerlog/venvGL67/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so: 
undefined symbol: _ZdlPvm, version Qt_5

Downgrading pyqt5-sip to 12.12.2, while keeping PyQt 5.15.2, did indeed 
make the warning go away.

ullix


Am 29.01.24 um 10:07 schrieb Phil Thompson:
> On 29/01/2024 07:50, ullix wrote:
>> I get this warning:
>>
>>   DeprecationWarning: sipPyTypeDict() is deprecated, the extension
>> module should use sipPyTypeDictRef() instead   class
>> ggeiger(QMainWindow):
>>
>> But nowhere in my code do I use "sipPyTypeDict(), so it's gotta be
>> used within some of the modules. Can I even correct this?
>>
>>
>> Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
>>
>> PyQt 5.15.2
>>
>> SIP 6.7.12
>>
>> PyQt5-sip 12.13.0
>>
>> ullix
>
> Downgrade PyQt5-sip or upgrade PyQt5.
>
> Phil


More information about the PyQt mailing list