Skip to content

feat: lake: fixedToolchain package configuration#12935

Merged
tydeu merged 2 commits intoleanprover:masterfrom
tydeu:lake/fixedToolchain
Mar 17, 2026
Merged

feat: lake: fixedToolchain package configuration#12935
tydeu merged 2 commits intoleanprover:masterfrom
tydeu:lake/fixedToolchain

Conversation

@tydeu
Copy link
Copy Markdown
Member

@tydeu tydeu commented Mar 16, 2026

This PR adds the fixedToolchain Lake package configuration option. Setting this to true informs Lake that the package is only expected to function on a single toolchain (like Mathlib). This causes Lake's toolchain update procedure to prioritize its toolchain and avoids the need to separate input-to-output mappings for the package by toolchain version in the Lake cache.

@tydeu tydeu added changelog-lake Lake lake-ci Run all Lake tests labels Mar 16, 2026
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Mar 16, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/batteries that referenced this pull request Mar 16, 2026
@github-actions github-actions bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Mar 16, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Mar 16, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Mar 16, 2026
@leanprover-bot leanprover-bot added the breaks-manual This is not necessarily a blocker for merging, but there needs to be a plan. label Mar 16, 2026
@leanprover-bot
Copy link
Copy Markdown
Collaborator

leanprover-bot commented Mar 16, 2026

Reference manual CI status:

@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

@tydeu tydeu force-pushed the lake/fixedToolchain branch from 7bfe40c to 3e981ac Compare March 16, 2026 22:02
mathlib-nightly-testing bot pushed a commit to leanprover-community/batteries that referenced this pull request Mar 16, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Mar 16, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Mar 16, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

@tydeu tydeu marked this pull request as ready for review March 17, 2026 01:13
mathlib-nightly-testing bot pushed a commit to leanprover-community/batteries that referenced this pull request Mar 17, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Mar 17, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Mar 17, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

@tydeu tydeu added this pull request to the merge queue Mar 17, 2026
Merged via the queue into leanprover:master with commit 9e0aa14 Mar 17, 2026
19 checks passed
@tydeu tydeu deleted the lake/fixedToolchain branch March 17, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaks-manual This is not necessarily a blocker for merging, but there needs to be a plan. changelog-lake Lake lake-ci Run all Lake tests mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants