Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W39.2025 · 22–28 Sepocaml/opam

Features

opam update (PR #6614, open): Loads only changed .opam files during opam update instead of reloading the full repository. Reduces repository-load time from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix. Link

OPAMAUTOANSWER (PR #6709, open): Adds an internal OPAMAUTOANSWER environment variable that auto-answers OpamConsole.confirm prompts. Intended for CI and test harnesses; not yet a public API. Link

OpamFile.OPAM API (PR #6679, open): Restructures OpamFile.OPAM.get_extra_files to return file lists directly rather than a directory path, preparing the API for non-directory repository backends. Link

Fixes

Pinned depends on simulated pins (PR #6611, open, queued): Corrects opam ignoring pinned-package dependencies when simulating a pin. Backported to 2.4 in PR #6612. Link

Windows GHA re-run failure (issue #6711, open): opam init --no-git-location fails on re-run with git fetch exit code 128 in GitHub Actions on Windows. Rebuilding the cache does not resolve it. Link

Compatibility and Releases

OpenBSD static binaries (PR #6705, merged): ./configure --enable-static --with-vendored-deps now produces a statically linked opam binary on OpenBSD 7.7, removing runtime dependencies on libc++, libpthread, and libm. Link

Vendored dependency updates (PR #6700, merged): Bumps download-if-missing dependencies to dune 3.20.0, re 1.14.0, and menhir 20250903. Link

cmdliner 2.0.0 constraint (PR #6707, open): Adds upper-bound constraints to exclude cmdliner 2.0.0, which breaks the build. Link