Skip to content

fix: handle lean4-nightly toolchain prefix in release checklist#12865

Merged
kim-em merged 1 commit intomasterfrom
fix-checklist-nightly-parsing
Mar 23, 2026
Merged

fix: handle lean4-nightly toolchain prefix in release checklist#12865
kim-em merged 1 commit intomasterfrom
fix-checklist-nightly-parsing

Conversation

@kim-em
Copy link
Copy Markdown
Collaborator

@kim-em kim-em commented Mar 10, 2026

This PR fixes a crash in release_checklist.py when a repository uses the
leanprover/lean4-nightly: toolchain prefix (e.g. leansqlite). The
is_version_gte function only checked for leanprover/lean4:nightly- but
not leanprover/lean4-nightly:, causing a ValueError: invalid literal for int() with base 10: 'nightly' when trying to parse the version.

🤖 Prepared with Claude Code

This PR fixes a crash in release_checklist.py when a repository uses the
leanprover/lean4-nightly: toolchain prefix (e.g. leansqlite). The
is_version_gte function only checked for leanprover/lean4:nightly- but
not leanprover/lean4-nightly:, causing a ValueError when trying to parse
the version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@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 10, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase ce6a07c4d904d0099d2140eb262866a2ee9c5608 --onto e8048291010c815d0d30926924e7ad7afc18b1c0. You can force Mathlib CI using the force-mathlib-ci label. (2026-03-10 09:58:19)

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase ce6a07c4d904d0099d2140eb262866a2ee9c5608 --onto a165292462a973c20d3cc8c8b23a3ac2334a2a4a. You can force reference manual CI using the force-manual-ci label. (2026-03-10 09:58:20)

@kim-em kim-em added this pull request to the merge queue Mar 23, 2026
Merged via the queue into master with commit b9028fa Mar 23, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-other 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