From b933628abddb02c1e1aba7d8217e6798e0b787f8 Mon Sep 17 00:00:00 2001 From: Brendan Collins Date: Sat, 4 Jul 2026 20:45:52 -0400 Subject: [PATCH] ci: pin libjxl=0.11.* in geotiff-corpus and cog-validator envs conda-forge published libjxl 0.12.0 on 2026-07-03 before rebuilding libgdal-core/rasterio against it. An unpinned solve now installs a GDAL linked to libjxl.so.0.11 alongside libjxl 0.12, so rasterio fails at import and both workflows have been red on main since then. Pin libjxl to 0.11.* so the solve matches the last green combination (libjxl 0.11.2 + libgdal-core 3.12.3 + rasterio 1.5.0; verified with a dry-run solve). Remove the pin once conda-forge rebuilds the GDAL stack against libjxl 0.12. --- .github/workflows/test-cog-validator.yml | 7 +++++++ .github/workflows/test-geotiff-corpus.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/test-cog-validator.yml b/.github/workflows/test-cog-validator.yml index d2f59cacc..727f3353a 100644 --- a/.github/workflows/test-cog-validator.yml +++ b/.github/workflows/test-cog-validator.yml @@ -70,6 +70,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up micromamba env (conda-forge rio-cogeo + GDAL) + # libjxl is pinned to 0.11.* because conda-forge published libjxl + # 0.12.0 (2026-07-03) before rebuilding libgdal-core / rasterio + # against it, so an unpinned solve pairs a GDAL linked to + # libjxl.so.0.11 with only 0.12 installed and rasterio fails to + # import. Drop the pin once conda-forge ships libgdal-core / + # rasterio builds linked against libjxl 0.12. uses: mamba-org/setup-micromamba@v1 with: environment-name: xrspatial-cog-validator @@ -80,6 +86,7 @@ jobs: rio-cogeo pyyaml tifffile + libjxl=0.11.* condarc: | channels: - conda-forge diff --git a/.github/workflows/test-geotiff-corpus.yml b/.github/workflows/test-geotiff-corpus.yml index 91ae2496a..c3c5b7e7d 100644 --- a/.github/workflows/test-geotiff-corpus.yml +++ b/.github/workflows/test-geotiff-corpus.yml @@ -41,6 +41,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up micromamba env (conda-forge rasterio + GDAL) + # libjxl is pinned to 0.11.* because conda-forge published libjxl + # 0.12.0 (2026-07-03) before rebuilding libgdal-core / rasterio + # against it, so an unpinned solve pairs a GDAL linked to + # libjxl.so.0.11 with only 0.12 installed and rasterio fails to + # import. Drop the pin once conda-forge ships libgdal-core / + # rasterio builds linked against libjxl 0.12. uses: mamba-org/setup-micromamba@v1 with: environment-name: xrspatial-geotiff @@ -50,6 +56,7 @@ jobs: gdal pyyaml tifffile + libjxl=0.11.* condarc: | channels: - conda-forge