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 typing for GDAL 3.10.0+ #102

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Fix typing for GDAL 3.10.0+ #102

merged 2 commits into from
Jan 31, 2025

Conversation

suricactus
Copy link
Collaborator

In GDAL 3.10.0 the return value of ogr.CreateDataSource changed from ogr.DataSource to gdal.Dataset.

Experienced by Windows users using OSGeo4W: jef-n/OSGeo4W@5469ac4
And announced here: https://github.com/OSGeo/gdal/blob/v3.10.0/NEWS.md

Fixes opengisch/qfieldsync#633

Fix CI python version as 3.8 is no longer available in GH actions
In GDAL 3.10.0 the return value of `ogr.CreateDataSource` changed from
`ogr.DataSource` to `gdal.Dataset`.

Experienced by Windows users using OSGeo4W: jef-n/OSGeo4W@5469ac4
And announced here: https://github.com/OSGeo/gdal/blob/v3.10.0/NEWS.md
@suricactus suricactus merged commit bba00b1 into master Jan 31, 2025
7 checks passed
@suricactus suricactus deleted the fix_typing branch January 31, 2025 01:26
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.

Can't load plugin
2 participants