Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

Zeitsperre
Copy link
Collaborator

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)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
  • I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

@Zeitsperre Zeitsperre requested review from huard and cehbrecht February 8, 2021 19:50
@Zeitsperre Zeitsperre self-assigned this Feb 8, 2021
@coveralls
Copy link

Coverage Status

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

@Zeitsperre Zeitsperre mentioned this pull request Feb 8, 2021
1 task
@cehbrecht cehbrecht merged commit 612b293 into pywps-4.4 Feb 9, 2021
@Zeitsperre Zeitsperre deleted the pywps-4.4-fix-gdal-warning branch February 9, 2021 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants