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

Support GDAL 3.7 & 3.8 #1526

Closed
davemfish opened this issue Feb 19, 2024 · 1 comment
Closed

Support GDAL 3.7 & 3.8 #1526

davemfish opened this issue Feb 19, 2024 · 1 comment
Labels
dependencies Pull requests that update a dependency file task Something needs to be done

Comments

@davemfish
Copy link
Contributor

As far as I can see, there are no breaking changes to worry about. But there are some FutureWarnings starting in 3.7 that we tell pytest to elevate to errors, so our test suite fails for this reason. For example,

=================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_hra.py ______________________
tests\test_hra.py:22: in <module>
    _SRS = osr.SpatialReference()
C:\Users\runneradmin\micromamba\envs\env\Lib\site-packages\osgeo\osr.py:1027: in __init__
    _WarnIfUserHasNotSpecifiedIfUsingExceptions()
C:\Users\runneradmin\micromamba\envs\env\Lib\site-packages\osgeo\osr.py:410: in _WarnIfUserHasNotSpecifiedIfUsingExceptions
    warnings.warn(
E   FutureWarning: Neither osr.UseExceptions() nor osr.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.
@davemfish davemfish added task Something needs to be done dependencies Pull requests that update a dependency file labels Feb 19, 2024
@emlys
Copy link
Member

emlys commented Apr 24, 2024

This was addressed in #1546

@emlys emlys closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file task Something needs to be done
Projects
None yet
Development

No branches or pull requests

2 participants