From 9874e8e035dea41303cbb9519542b36684d938d6 Mon Sep 17 00:00:00 2001 From: psong Date: Tue, 14 Oct 2025 13:26:24 -0700 Subject: [PATCH 1/3] Bump to latest stable Lean version (4.24.0) --- lakefile.lean | 4 ++-- lean-toolchain | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lakefile.lean b/lakefile.lean index b466d88..ae750c7 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" @ "8da40b72fece29b7d3fe3d768bac4c8910ce9bee" +require aesop from git "https://github.com/leanprover-community/aesop" @ "725ac8cd67acd70a7beaf47c3725e23484c1ef50" 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 14a4424..58ae245 100644 --- a/lean-toolchain +++ b/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.23.0 \ No newline at end of file +leanprover/lean4:v4.24.0 \ No newline at end of file From 692c8dc40d6ed9ffb33ab344975e2ace4b177a2a Mon Sep 17 00:00:00 2001 From: psong Date: Tue, 14 Oct 2025 13:29:08 -0700 Subject: [PATCH 2/3] Bump deps --- lake-manifest.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lake-manifest.json b/lake-manifest.json index e227af4..0abf319 100644 --- a/lake-manifest.json +++ b/lake-manifest.json @@ -5,20 +5,20 @@ "type": "git", "subDir": null, "scope": "", - "rev": "247ff80701c76760523b5d7c180b27b7708faf38", + "rev": "725ac8cd67acd70a7beaf47c3725e23484c1ef50", "name": "aesop", "manifestFile": "lake-manifest.json", - "inputRev": "master", + "inputRev": "725ac8cd67acd70a7beaf47c3725e23484c1ef50", "inherited": false, "configFile": "lakefile.toml"}, {"url": "https://github.com/leanprover-community/batteries.git", "type": "git", "subDir": null, "scope": "", - "rev": "d117e2c28cba42e974bc22568ac999492a34e812", + "rev": "8da40b72fece29b7d3fe3d768bac4c8910ce9bee", "name": "batteries", "manifestFile": "lake-manifest.json", - "inputRev": "main", + "inputRev": "8da40b72fece29b7d3fe3d768bac4c8910ce9bee", "inherited": false, "configFile": "lakefile.toml"}], "name": "LeanCopilot", From 190b856b84dd289e6bc4604e1d3410276a3532a6 Mon Sep 17 00:00:00 2001 From: psong Date: Tue, 14 Oct 2025 13:44:53 -0700 Subject: [PATCH 3/3] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fe3ea0..d38c648 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,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.23.0`), set `LEAN_COPILOT_VERSION` to be that version. For the latest unstable Lean versions (e.g., `v4.24.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.24.0`), set `LEAN_COPILOT_VERSION` to be that version. For the latest unstable Lean versions (e.g., `v4.25.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]]