Skip to content

Conversation

@johannesparty
Copy link
Contributor

Note: I'm not sure this is the best fix, but currently "make build" doesn't work, so we should figure out something :).

This fixes build failures caused by GDAL 3.12.0 migrating to Debian testing on November 15, 2025. The migration introduced breaking API changes in GetGeoTransform/SetGeoTransform signatures that are incompatible with Python GDAL 3.11.3 bindings.

Changes:

  • Use system python3-gdal package instead of pip-compiled bindings
  • Enable --system-site-packages in virtualenv to access system packages
  • Add overrides.txt to resolve soil-id's GDAL 3.11.3 requirement
  • Remove Debian testing pin that was pulling GDAL 3.12
  • Use stable Trixie GDAL 3.10.3 which is compatible

Root cause: Debian testing was pinned to get "3.10.x" but is a rolling target. When GDAL 3.12 migrated to testing, builds broke due to C++ API changes (double* -> GDALGeoTransform&) that pip-compiled bindings don't support.

This fixes build failures caused by GDAL 3.12.0 migrating to Debian testing
on November 15, 2025. The migration introduced breaking API changes in
GetGeoTransform/SetGeoTransform signatures that are incompatible with
Python GDAL 3.11.3 bindings.

Changes:
- Use system python3-gdal package instead of pip-compiled bindings
- Enable --system-site-packages in virtualenv to access system packages
- Add overrides.txt to resolve soil-id's GDAL 3.11.3 requirement
- Remove Debian testing pin that was pulling GDAL 3.12
- Use stable Trixie GDAL 3.10.3 which is compatible

Root cause: Debian testing was pinned to get "3.10.x" but is a rolling
target. When GDAL 3.12 migrated to testing, builds broke due to C++ API
changes (double* -> GDALGeoTransform&) that pip-compiled bindings don't
support.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@paulschreiber
Copy link
Member

We should be using 3.11.x — right now, that's what Ubuntu unstable has. Debian and Homebrew both support 3.12.

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