[PyQt] Deprecation warnings with sip 4.18 and PyQt 4.11.4

Phil Thompson phil at riverbankcomputing.com
Tue Apr 26 10:44:29 BST 2016


On 26 Apr 2016, at 10:22 am, Matthias Kuhn <matthias at opengis.ch> wrote:
> 
> Hi,
> 
> Since updating to SIP 4.18 we get a lot of warnings when compiling
> against PyQt 4.11.4 [1], caused by /DocType/ deprecation.
> 
> We have a no warning policy and at the moment have to disable mac osx
> tests because homebrew uses SIP 4.18 and provides QScintilla built with
> this version so we cannot stick to SIP 4.17 without rebuilding other
> dependencies. In the end it's just all too complicated for a simple
> deprecation warning triggered by a dependency.
> 
> I noticed there was a commit 1c8c7394191e which "removes uses of the
> deprecated /DocValue/ annotation".
> I wonder if this would fix our issues and when this is expected to be
> released.
> Or is there another possibility to suppress SIP warnings?

I'm afraid you will have to wait for the next release of PyQt4. There is a fair amount of sip5 related work that needs to be done first, and PyQt v5.7 will take priority over that.

Phil


More information about the PyQt mailing list