Skip to content

Commit 8b39931

Browse files
committed
Bump the Lean version in CI.
In 4.30 `2 = 2` is special-er than `37 = 37` and suggests a different lemma :D And apparently unfold? no longer needs the wait...
1 parent 927b589 commit 8b39931

9 files changed

Lines changed: 41 additions & 39 deletions

File tree

demos/project/lake-manifest.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{"version": "1.1.0",
1+
{"version": "1.2.0",
22
"packagesDir": ".lake/packages",
33
"packages":
44
[{"url": "https://github.com/leanprover-community/mathlib4.git",
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "76af11c66b4608f33b1346b877119458d0a50110",
8+
"rev": "9b51fe6ec0377d1e0f1ebeb551a7ab8d9ad8f3a4",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": null,
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "22a0afa903bcf65285152eea298a3d319badc78d",
18+
"rev": "86210d4ad1b08b086d0bd638637a75246523dbb8",
1919
"name": "plausible",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "db22912cdd820b2a2bd84bd25273cb322ff09ead",
38+
"rev": "cdab3938ccabbdb044be6896e251b5814bec932e",
3939
"name": "importGraph",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -45,51 +45,52 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "leanprover-community",
48-
"rev": "136730b5a40dc633967f5433cb7668df5c3bf9a3",
48+
"rev": "2db6054a44326f8c0230ee0570e2ddb894816511",
4949
"name": "proofwidgets",
5050
"manifestFile": "lake-manifest.json",
51-
"inputRev": "v0.0.94",
51+
"inputRev": "v0.0.98",
5252
"inherited": true,
5353
"configFile": "lakefile.lean"},
5454
{"url": "https://github.com/leanprover-community/aesop",
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "3426969888a264d3f69b6f30ab50aa11f28eb38d",
58+
"rev": "f0c6e183ea26531e82773feb4b73ab6595ca17a5",
5959
"name": "aesop",
6060
"manifestFile": "lake-manifest.json",
61-
"inputRev": "master",
61+
"inputRev": "v4.30.0-rc2",
6262
"inherited": true,
6363
"configFile": "lakefile.toml"},
6464
{"url": "https://github.com/leanprover-community/quote4",
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "3a9fde028258300f1cbb003d457d47c8d8e16b1c",
68+
"rev": "1cc7e819b9b9bc1e87c9edcccb62e0269e00a809",
6969
"name": "Qq",
7070
"manifestFile": "lake-manifest.json",
71-
"inputRev": "master",
71+
"inputRev": "v4.30.0-rc2",
7272
"inherited": true,
7373
"configFile": "lakefile.toml"},
7474
{"url": "https://github.com/leanprover-community/batteries",
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "bce25af79ec73f5e63240d4399a4cd8a6a227fcb",
78+
"rev": "5c57f3857ba81924a88b2cdf4f062e34ec04ff11",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
81-
"inputRev": "main",
81+
"inputRev": "v4.30.0-rc2",
8282
"inherited": true,
8383
"configFile": "lakefile.toml"},
8484
{"url": "https://github.com/leanprover/lean4-cli",
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "61cd682f2a25175996bc1b9e8d8231e76cded866",
88+
"rev": "13567aed1ac4f12aea9484178e07e51f8c9f7658",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
91-
"inputRev": "v4.29.0-rc8",
91+
"inputRev": "v4.30.0-rc2",
9292
"inherited": true,
9393
"configFile": "lakefile.toml"}],
9494
"name": "NeovimLoves",
95-
"lakeDir": ".lake"}
95+
"lakeDir": ".lake",
96+
"fixedToolchain": false}

demos/project/lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.29.0-rc8
1+
leanprover/lean4:v4.30.0-rc2

spec/fixtures/projects/Example/lake-manifest.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{"version": "1.1.0",
1+
{"version": "1.2.0",
22
"packagesDir": ".lake/packages",
33
"packages":
44
[{"type": "path",
@@ -9,4 +9,5 @@
99
"dir": "foo",
1010
"configFile": "lakefile.toml"}],
1111
"name": "example",
12-
"lakeDir": ".lake"}
12+
"lakeDir": ".lake",
13+
"fixedToolchain": false}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.29.0-rc8
1+
leanprover/lean4:v4.30.0-rc2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
build/release/stage1
1+
leanprover/lean4:v4.30.0-rc2

spec/fixtures/projects/WithWidgets/lake-manifest.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{"version": "1.1.0",
1+
{"version": "1.2.0",
22
"packagesDir": ".lake/packages",
33
"packages":
44
[{"url": "https://github.com/leanprover-community/mathlib4",
55
"type": "git",
66
"subDir": null,
77
"scope": "leanprover-community",
8-
"rev": "76af11c66b4608f33b1346b877119458d0a50110",
8+
"rev": "9b51fe6ec0377d1e0f1ebeb551a7ab8d9ad8f3a4",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "master",
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "leanprover-community",
18-
"rev": "136730b5a40dc633967f5433cb7668df5c3bf9a3",
18+
"rev": "2db6054a44326f8c0230ee0570e2ddb894816511",
1919
"name": "proofwidgets",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": "main",
@@ -25,7 +25,7 @@
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "leanprover-community",
28-
"rev": "db22912cdd820b2a2bd84bd25273cb322ff09ead",
28+
"rev": "cdab3938ccabbdb044be6896e251b5814bec932e",
2929
"name": "importGraph",
3030
"manifestFile": "lake-manifest.json",
3131
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "22a0afa903bcf65285152eea298a3d319badc78d",
38+
"rev": "86210d4ad1b08b086d0bd638637a75246523dbb8",
3939
"name": "plausible",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -55,41 +55,42 @@
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "3426969888a264d3f69b6f30ab50aa11f28eb38d",
58+
"rev": "f0c6e183ea26531e82773feb4b73ab6595ca17a5",
5959
"name": "aesop",
6060
"manifestFile": "lake-manifest.json",
61-
"inputRev": "master",
61+
"inputRev": "v4.30.0-rc2",
6262
"inherited": true,
6363
"configFile": "lakefile.toml"},
6464
{"url": "https://github.com/leanprover-community/quote4",
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "3a9fde028258300f1cbb003d457d47c8d8e16b1c",
68+
"rev": "1cc7e819b9b9bc1e87c9edcccb62e0269e00a809",
6969
"name": "Qq",
7070
"manifestFile": "lake-manifest.json",
71-
"inputRev": "master",
71+
"inputRev": "v4.30.0-rc2",
7272
"inherited": true,
7373
"configFile": "lakefile.toml"},
7474
{"url": "https://github.com/leanprover-community/batteries",
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "bce25af79ec73f5e63240d4399a4cd8a6a227fcb",
78+
"rev": "5c57f3857ba81924a88b2cdf4f062e34ec04ff11",
7979
"name": "batteries",
8080
"manifestFile": "lake-manifest.json",
81-
"inputRev": "main",
81+
"inputRev": "v4.30.0-rc2",
8282
"inherited": true,
8383
"configFile": "lakefile.toml"},
8484
{"url": "https://github.com/leanprover/lean4-cli",
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "61cd682f2a25175996bc1b9e8d8231e76cded866",
88+
"rev": "13567aed1ac4f12aea9484178e07e51f8c9f7658",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
91-
"inputRev": "v4.29.0-rc8",
91+
"inputRev": "v4.30.0-rc2",
9292
"inherited": true,
9393
"configFile": "lakefile.toml"}],
9494
"name": "WithWidgets",
95-
"lakeDir": ".lake"}
95+
"lakeDir": ".lake",
96+
"fixedToolchain": false}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.29.0-rc8
1+
leanprover/lean4:v4.30.0-rc2

spec/widgets/core_spec.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('Lean core widgets', function()
2929
'supports try this widgets with one suggestion',
3030
helpers.clean_buffer(
3131
[[
32-
example : 2 = 2 := by
32+
example : 37 = 37 := by
3333
apply?
3434
]],
3535
function()
@@ -38,7 +38,7 @@ describe('Lean core widgets', function()
3838
assert.infoview_contents.are [[
3939
Goals accomplished 🎉
4040
41-
2 = 2
41+
37 = 37
4242
4343
▼ 2:3-2:9: information:
4444
Try this:
@@ -52,7 +52,7 @@ describe('Lean core widgets', function()
5252
-- the buffer contents have changed but we also jumped to the lean win
5353
assert.current_window.is(lean_window)
5454
assert.contents.are [[
55-
example : 2 = 2 := by
55+
example : 37 = 37 := by
5656
exact Nat.eq_of_beq_eq_true rfl
5757
]]
5858
end

spec/widgets/mathlib_spec.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ describe('Mathlib widgets', function()
7676

7777
helpers.search 'Uninteresting'
7878
helpers.feed 'gK'
79-
helpers.wait_for_async_elements()
8079

8180
assert.infoview_contents.are [[
8281
⊢ isUninteresting 73

0 commit comments

Comments
 (0)