Source: spyder-kernels Followup-For: Bug #966052 spyder-kernels' use of sip is conditional to having environment variable QT_API='pyqt', corresponding to PyQt 2 as I understand it. It is only referenced in spyder_kernels/customize/spydercustomize.py (lines 170, 172)
So it will not be accessed in a PyQt5 environment (where QT_API is not set to 'pyqt'). spyder-kernels 1.10.1 applies other tests for PyQt5, but using PyQt5.QtWidgets not .sip. I think we don't need to patch anything in spyder-kernels. It's already accounting for PyQt5. I think we can close this bug.