Closed utensil closed 10 months ago
Locally it works fine (on Mac and my Ubuntu CI), but CI is red. Will look into that later.
There is no way I can pass the test for LeanInk. I tried the 2 approaches:
fix-print-path-bump
branch)setup-file
.I'll take approach 1, and fix the tests later. In the meanwhile, code in this PR or branch fix-print-path-nobump can lake build
and works for target Lean code on Lean v4.4.0.
Note that this branch (and its fixes) also fixes my issue #56.
Description
LeanInk/Analysis/LeanContext.lean
relies onprint-paths
toinitializeLakeContext
, but in leanprover/lean4#2858 which is part of Lean v4.4.0 release,print-paths
is changed tosetup-file
, with an extra parameter and changed JSON output.This PR bumps LeanInk to use v4.4.0-rc1, replacing
print-paths
withsetup-file
and handles the parameter and output change accordingly.There is probably no immediate need to merge this PR as doc-gen4 is using https://github.com/hargoniX/LeanInk/ which is 30+ commits behind
leanprover/LeanInk
and doesn't have this file, and I'm not aware of other major users.More discussions on Zulip.
Notable Changes
Additional Notes