[PyQt] A Heads Up for PyQt Packagers

Phil Thompson phil at riverbankcomputing.com
Sat Jun 23 17:32:21 BST 2018


On 23 Jun 2018, at 4:15 pm, Florian Bruhin <me at the-compiler.org> wrote:
> 
> On Sun, Jun 17, 2018 at 10:27:54PM +0100, Phil Thompson wrote:
>> This will mainly be of interest to people who create sip, PyQt4, PyQt5
>> etc. packages for Linux but also anybody who builds from source.
>> 
>> Starting with v5.11 (ie. the next release) PyQt5 will use a private
>> copy of the sip module. Packagers have the choice of including it with
>> PyQt5 or creating a new package (PyQt5_sip?). The wheels will use the
>> second approach (because the module is Python version specific,
>> whereas the PyQt5 modules themselves are not).
> 
> Let me note that this also requires projects to adjust their imports to
> continue working with the latest wheels - instead of "import sip", one
> now needs to do "from PyQt5 import sip".

http://pyqt.sourceforge.net/Docs/PyQt5/incompatibilities.html#pyqt-v5-11

Phil


More information about the PyQt mailing list