[Osgeo4w-trac] [osgeo4w] #684: OSGeo4W v2: python3-owslib-0.20.0 doesn't support Python 3.9

OSGeo4W trac_osgeo4w at osgeo.org
Sun Jul 18 12:04:02 PDT 2021


#684: OSGeo4W v2: python3-owslib-0.20.0 doesn't support Python 3.9
------------------------+---------------------------
Reporter:  andreaerdna  |      Owner:  osgeo4w-dev@…
    Type:  defect       |     Status:  new
Priority:  major        |  Component:  Package
 Version:               |   Keywords:
------------------------+---------------------------
 The owslib 0.20.0 Python package uses the {{{getiterator()}}} attribute of
 the {{{xml.etree.ElementTree.Element}}} object which was removed in Python
 3.9 and substituted with {{{iter()}}}.
 https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getiterator

 This breaks the functionality of the MetaSearch core plugin: see
 https://github.com/qgis/QGIS/issues/44225

 The issue with the MetaSearch core plugin only happens installing
 {{{qgis}}} or {{{qgis-ltr}}} packages using the OSGeo4W v2 Network
 Installer.

 It doesn't happen using the Standalone Installer (both v2 and v1) and the
 OSGeo4W v1 Network Installer.
 See https://github.com/qgis/QGIS/issues/44225#issuecomment-882073892 for
 more details.

 The owslib 0.21.0 is the first owslib version using {{{iter()}}} instead
 of  {{{getiterator()}}} in order to properly work with Python 3.9.
 https://github.com/geopython/OWSLib/pull/720

 The latest version of owslib is 0.24.1.

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


More information about the Osgeo4w-trac mailing list