[PyQt] PyQt5-sip 4.19.13 required for PyQt5 5.11.3 but not in python package

Damon Lynch damonlynch at gmail.com
Sat Nov 3 21:39:32 GMT 2018


Unless I'm mistaken, for now the latest PyQt5 requires the latest
PyQt5_sip, but the packaging of PyQt5 does not specify this requirement.

For example, on Fedora 29:

[damon at localhost ~]$ pip3 install --user PyQt5
Requirement already satisfied: PyQt5 in
./.local/lib/python3.7/site-packages (5.11.3)
Requirement already satisfied: PyQt5_sip<4.20,>=4.19.11 in
/usr/lib64/python3.7/site-packages (from PyQt5) (4.19.12)
[damon at localhost ~]$ python3
Python 3.7.1 (default, Oct 23 2018, 18:19:07)
[GCC 8.2.1 20180801 (Red Hat 8.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'PyQt5.sip'
[damon at localhost ~]$ pip3 install -U --user PyQt5_sip
Collecting PyQt5_sip
  Using cached
https://files.pythonhosted.org/packages/2b/9b/37e4f07ddac00e7eff4dd216c330a66cb1221e9c510855055391b779ee77/PyQt5_sip-4.19.13-cp37-cp37m-manylinux1_x86_64.whl
Installing collected packages: PyQt5-sip
Successfully installed PyQt5-sip-4.19.13
[damon at localhost ~]$ python3
Python 3.7.1 (default, Oct 23 2018, 18:19:07)
[GCC 8.2.1 20180801 (Red Hat 8.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtCore
>>>

Apologies if this was reported already or I'm misunderstanding something.

Best,
Damon

-- 
http://www.damonlynch.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181103/59da00fc/attachment.html>


More information about the PyQt mailing list