[osgeo4w-dev] [osgeo4w] #555: Upgrade request for PyQt4 in order to fix deprecation warnings in QGIS

OSGeo4W trac_osgeo4w at osgeo.org
Wed Jan 31 01:57:27 PST 2018


#555: Upgrade request for PyQt4 in order to fix deprecation warnings in QGIS
------------------------+---------------------------
Reporter:  andreaerdna  |      Owner:  osgeo4w-dev@…
    Type:  enhancement  |     Status:  new
Priority:  minor        |  Component:  Package
 Version:               |   Keywords:  pyqt pyqt4
------------------------+---------------------------
 Some plugins (e.g. go2streeview) relie on uiparser.py of PyQt4.

 Readresources in uiparser.py of PyQt4 < 4.11.4 uses the old deprecated
 feature elem.getiterator, that now is pending for removal (see
 https://bugs.python.org/issue29209) from Python and generates the
 following Python warning in QGIS 2.18.16:

 {{{
 C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-
 packages\PyQt4\uic\uiparser.py:844:
 PendingDeprecationWarning: This method will be removed in future versions.
 Use 'elem.iter()' or 'list(elem.iter())' instead.
 ...
 }}}

 So, please upgrade PyQt4 (now in OSGeo4W is x86:4.11.3-1 18-Oct-2017 |
 x86_64:4.10.2-1 16-Jun-2013) to a version >= 4.11.4.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/555>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list