Skip to content

ci: pin libjxl to 0.11.* in geotiff-corpus and cog-validator envs#3639

Merged
brendancol merged 1 commit into
mainfrom
ci-pin-libjxl-011
Jul 5, 2026
Merged

ci: pin libjxl to 0.11.* in geotiff-corpus and cog-validator envs#3639
brendancol merged 1 commit into
mainfrom
ci-pin-libjxl-011

Conversation

@brendancol

Copy link
Copy Markdown
Contributor

pytest-geotiff-corpus and pytest-cog-validator have been red on main since 2026-07-03. Both die at the rasterio import check:

ImportError: libjxl.so.0.11: cannot open shared object file: No such file or directory

conda-forge published libjxl 0.12.0 on 2026-07-03. The libgdal-core 3.12.3 and rasterio 1.5.0 builds we get are still linked against libjxl 0.11, and nothing in their metadata caps libjxl below 0.12, so a fresh solve installs 0.12.0 next to binaries that want libjxl.so.0.11 (libjxl.0.11.dylib on macOS, where the loader error names libgdal.38.3.12.3.dylib as the culprit). The last green run (2026-07-03 04:43 UTC) solved libjxl 0.11.2 with the exact same libgdal-core and rasterio builds, so this is purely an upstream packaging gap, not a repo change.

Fix: add libjxl=0.11.* to the micromamba create-args in both workflows. A local dry-run solve with the pin reproduces the last green combination (libjxl 0.11.2, libgdal-core 3.12.3 he63569f_3, rasterio 1.5.0). Once conda-forge rebuilds the GDAL stack against libjxl 0.12 the pin should come back out; there's a comment in both workflow files saying so.

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.
@brendancol brendancol merged commit df0ac45 into main Jul 5, 2026
12 checks passed
@brendancol brendancol deleted the ci-pin-libjxl-011 branch July 5, 2026 12:25
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.

1 participant