[osgeo4w-dev] [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()}}}.

 This breaks the functionality of the MetaSearch core plugin: see

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

 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.

 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-dev mailing list