From b135b4fce66324b40fabf14f826d7b08222d8cb4 Mon Sep 17 00:00:00 2001 From: psong Date: Wed, 11 Feb 2026 01:14:20 -0800 Subject: [PATCH 1/4] Bump to be tracking the latest Lean & packages --- lakefile.lean | 4 ++-- lean-toolchain | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lakefile.lean b/lakefile.lean index 947e9d0..230b6c0 100644 --- a/lakefile.lean +++ b/lakefile.lean @@ -422,8 +422,8 @@ extern_lib libleanffi pkg := do buildStaticLib (pkg.sharedLibDir / name) #[ct2O] -require batteries from git "https://github.com/leanprover-community/batteries.git" @ "4ca6ac27b5b03d9554013a85343f75f43501175a" -require aesop from git "https://github.com/leanprover-community/aesop" @ "cb837cc26236ada03c81837bebe0acd9c70ced7d" +require batteries from git "https://github.com/leanprover-community/batteries.git" @ "main" +require aesop from git "https://github.com/leanprover-community/aesop" @ "master" meta if get_config? env = some "dev" then -- dev is so not everyone has to build it require «doc-gen4» from git "https://github.com/leanprover/doc-gen4" @ "main" diff --git a/lean-toolchain b/lean-toolchain index 2bb276a..3e9b4e1 100644 --- a/lean-toolchain +++ b/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.27.0 \ No newline at end of file +leanprover/lean4:v4.28.0-rc1 \ No newline at end of file From 278365930b72d5d42b55a6810f81b52627de0f22 Mon Sep 17 00:00:00 2001 From: psong Date: Mon, 16 Feb 2026 15:08:52 -0800 Subject: [PATCH 2/4] Bump to latest stable Lean v4.28.0 --- lakefile.lean | 4 ++-- lean-toolchain | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lakefile.lean b/lakefile.lean index 230b6c0..e25c914 100644 --- a/lakefile.lean +++ b/lakefile.lean @@ -422,8 +422,8 @@ extern_lib libleanffi pkg := do buildStaticLib (pkg.sharedLibDir / name) #[ct2O] -require batteries from git "https://github.com/leanprover-community/batteries.git" @ "main" -require aesop from git "https://github.com/leanprover-community/aesop" @ "master" +require batteries from git "https://github.com/leanprover-community/batteries.git" @ "495c008c3e3f4fb4256ff5582ddb3abf3198026f" +require aesop from git "https://github.com/leanprover-community/aesop" @ "f642a64c76df8ba9cb53dba3b919425a0c2aeaf1" meta if get_config? env = some "dev" then -- dev is so not everyone has to build it require «doc-gen4» from git "https://github.com/leanprover/doc-gen4" @ "main" diff --git a/lean-toolchain b/lean-toolchain index 3e9b4e1..ea6ca7f 100644 --- a/lean-toolchain +++ b/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.28.0-rc1 \ No newline at end of file +leanprover/lean4:v4.28.0 \ No newline at end of file From 3caef102160a9b22d4a90d162283353a8da38aa8 Mon Sep 17 00:00:00 2001 From: psong Date: Mon, 16 Feb 2026 15:09:07 -0800 Subject: [PATCH 3/4] Bump deps together --- lake-manifest.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lake-manifest.json b/lake-manifest.json index 8c810e0..88a44d6 100644 --- a/lake-manifest.json +++ b/lake-manifest.json @@ -5,20 +5,20 @@ "type": "git", "subDir": null, "scope": "", - "rev": "cb837cc26236ada03c81837bebe0acd9c70ced7d", + "rev": "f642a64c76df8ba9cb53dba3b919425a0c2aeaf1", "name": "aesop", "manifestFile": "lake-manifest.json", - "inputRev": "cb837cc26236ada03c81837bebe0acd9c70ced7d", + "inputRev": "f642a64c76df8ba9cb53dba3b919425a0c2aeaf1", "inherited": false, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/batteries.git", "type": "git", "subDir": null, "scope": "", - "rev": "4ca6ac27b5b03d9554013a85343f75f43501175a", + "rev": "495c008c3e3f4fb4256ff5582ddb3abf3198026f", "name": "batteries", "manifestFile": "lake-manifest.json", - "inputRev": "4ca6ac27b5b03d9554013a85343f75f43501175a", + "inputRev": "495c008c3e3f4fb4256ff5582ddb3abf3198026f", "inherited": false, "configFile": "lakefile.toml"}], "name": "LeanCopilot", From 1253a87bf4815d5aa4b2b1459fc74edb95b41f62 Mon Sep 17 00:00:00 2001 From: psong Date: Mon, 16 Feb 2026 15:13:12 -0800 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e04a106..5d0c031 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ moreLinkArgs = ["-L./.lake/packages/LeanCopilot/.lake/build/lib", "-lctranslate2 require LeanCopilot from git "https://github.com/lean-dojo/LeanCopilot.git" @ "LEAN_COPILOT_VERSION" ``` -For stable Lean versions (e.g., `v4.27.0`), set `LEAN_COPILOT_VERSION` to be that version. For the latest unstable Lean versions (e.g., `v4.28.0-rc1`), set `LEAN_COPILOT_VERSION` to `main`. In either case, make sure the version is compatible with other dependencies such as mathlib. If your project uses lakefile.toml instead of lakefile.lean, it should include: +For stable Lean versions (e.g., `v4.28.0`), set `LEAN_COPILOT_VERSION` to be that version. For the latest unstable Lean versions (e.g., `v4.29.0-rc1`), set `LEAN_COPILOT_VERSION` to `main`. In either case, make sure the version is compatible with other dependencies such as mathlib. If your project uses lakefile.toml instead of lakefile.lean, it should include: ```toml [[require]]