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

[Backport 3.9] Python utilities: avoid UseExceptions() related deprecation warning when launched from launcher shell scripts #10044

Merged
merged 11 commits into from
May 29, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented May 28, 2024

backport of #10039

rouault added 5 commits May 28, 2024 19:37
…hen launched from launcher shell scripts

Fixes OSGeo#10010

The launcher shell scripts generated by setuptools don't use our
gdal-utils/scripts/{script_name}.py scripts, but directly the gdal-utils/osgeo_utils/{script_name}.py one.
Hence let's move the call to UseExceptions() from the former to the
later.
…Exceptions() if run under gdal.ExceptionMgr()
@coveralls
Copy link
Collaborator

coveralls commented May 28, 2024

Coverage Status

coverage: 69.115% (+0.004%) from 69.111%
when pulling 4fd3ccb on rouault:backport-10039-to-release/3.9
into 4292ce7 on OSGeo:release/3.9.

@rouault rouault force-pushed the backport-10039-to-release/3.9 branch from f5626d8 to 4fd3ccb Compare May 29, 2024 00:35
@rouault rouault merged commit f8d32bd into OSGeo:release/3.9 May 29, 2024
32 checks passed
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.

3 participants