Skip to content

Pin lean-toolchain to leanprover/lean4:v4.29.0#11

Open
astefano wants to merge 1 commit into
verse-lab:masterfrom
astefano:fix/lean-toolchain-nightly
Open

Pin lean-toolchain to leanprover/lean4:v4.29.0#11
astefano wants to merge 1 commit into
verse-lab:masterfrom
astefano:fix/lean-toolchain-nightly

Conversation

@astefano

@astefano astefano commented Jun 4, 2026

Copy link
Copy Markdown

lean-toolchain contained master, which elan cannot resolve (error: no such release: 'master'), so CI fails at the Elan install step and clean checkouts fail too.

This pins it to leanprover/lean4:v4.29.0, a concrete elan-resolvable release. I first tried leanprover/lean4:nightly (resolves fine), but the current source does not compile on nightly-2026-06-04 (type error in Loom/WP/Basic.lean:398), so I pinned v4.29.0 instead.

Verified end-to-end on my fork (with the workflow placement from #9 and the -j1 lakefile fix applied): full green build — all 22 jobs, including Loom, Main, and the loom2 exe.

Note: green CI requires #9 (workflow location) and the lakefile.toml thread-stack fix as well; this PR is just the toolchain pin. If you prefer to stay on the dev channel, a pinned leanprover/lean4:nightly-YYYY-MM-DD that your source builds on would also work.

Closes #10.

`lean-toolchain` contained `master`, which elan cannot resolve
(`error: no such release: 'master'`), breaking CI and clean checkouts.
Pin to `leanprover/lean4:v4.29.0` — a concrete, elan-resolvable release that
loom2's current source builds on.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@astefano
astefano force-pushed the fix/lean-toolchain-nightly branch from 89c0733 to a92c59c Compare June 4, 2026 11:42
@astefano astefano changed the title Pin lean-toolchain to an elan-resolvable channel Pin lean-toolchain to leanprover/lean4:v4.29.0 Jun 4, 2026
@astefano
astefano marked this pull request as ready for review June 4, 2026 11:46
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.

lean-toolchain pins master, which elan cannot resolve

1 participant