From 7becad9761182891fc3f45f4f978c52862ae5e04 Mon Sep 17 00:00:00 2001 From: Jake Faulkner Date: Mon, 26 Oct 2026 19:57:48 +1300 Subject: [PATCH] Drop gdal from the e2e heads install oq-wrapper's master now needs openquake-engine >= 3.27, which depends on the gdal Python bindings. They have no Linux wheels, so the heads lane failed building gdal from source. Only openquake.sep imports them, so override gdal away as oq-wrapper's own pyproject.toml does. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/e2e.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 32505228..2498b8c0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -88,11 +88,16 @@ jobs: uv sync --extra test # Kept in step with UCGMSIM_PACKAGES in realtime_simulation_workflow's flow.cylc. + # oq-wrapper's master needs openquake-engine >= 3.27, which depends on the + # gdal Python bindings. These have no Linux wheels and need a matching + # system libgdal, and only openquake.sep (unused here) imports them, so + # drop gdal the same way oq-wrapper's own pyproject.toml does. - name: Install dependencies (heads) if: matrix.deps == 'heads' run: | uv sync --frozen --extra test - uv pip install \ + echo "gdal; sys_platform == 'never'" > "$RUNNER_TEMP/overrides.txt" + uv pip install --overrides "$RUNNER_TEMP/overrides.txt" \ "qcore-utils[cli] @ git+https://github.com/ucgmsim/qcore.git@master" \ "source-modelling @ git+https://github.com/ucgmsim/source_modelling.git@main" \ "velocity-modelling @ git+https://github.com/ucgmsim/velocity_modelling.git@main" \