fix: geo-service Pakete einzeln installieren (rasterio braucht GDAL)

This commit is contained in:
Benjamin Boenisch
2026-02-15 13:30:00 +01:00
parent 5ff2c8bad4
commit 0dae5da405

View File

@@ -187,8 +187,14 @@ steps:
cd geo-service
export PYTHONPATH="$(pwd):${PYTHONPATH:-}"
pip install --quiet --no-cache-dir -r requirements.txt 2>/dev/null || true
pip install --quiet --no-cache-dir structlog httpx fastapi uvicorn pydantic pytest pytest-json-report
# Pakete einzeln installieren - rasterio braucht GDAL und wird uebersprungen
while IFS= read -r line; do
pkg=$(echo "$line" | sed 's/#.*//' | xargs)
[ -z "$pkg" ] && continue
pip install --quiet --no-cache-dir "$pkg" 2>/dev/null || echo "WARNUNG: $pkg uebersprungen"
done < requirements.txt
pip install --quiet --no-cache-dir pytest pytest-json-report
set +e
python -m pytest tests/ -v --tb=short --json-report --json-report-file=../.ci-results/test-geo.json