geopython / pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
https://pywps.org
MIT License
175 stars 117 forks source link

Fix a namespace warning when importing gdal directly [rebase on PyWPS 4.4] #575

Closed Zeitsperre closed 3 years ago

Zeitsperre commented 3 years ago

Overview

This is a very small fix needed to squelch a warning that shows up with GDAL:

../../miniconda3/envs/raven-dev/lib/python3.8/site-packages/osgeo/gdal.py:106
  /home/tjs/miniconda3/envs/raven-dev/lib/python3.8/site-packages/osgeo/gdal.py:106: DeprecationWarning: gdal.py was placed in a namespace, it is now available as osgeo.gdal
    warn('%s.py was placed in a namespace, it is now available as osgeo.%s' % (module,module),

Related Issue / Discussion

Additional Information

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 0.0% when pulling 7307e7012ccf145ab1922fbeef8f380bb046fe3f on pywps-4.4-fix-gdal-warning into d593f4a6791ad269e0cd57892ef953eeb7c1ffc8 on pywps-4.4.