-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: use toolchain for leanprover/lean4#2749 #32
Conversation
Ah, this isn't an issue caused by the bump; the macOS CI just deadlocks nondeterministically. I have observed this before. It may be due to the mutex here, but I don't know of another way to achieve what the lakefile does. |
Ah, I think I've noticed this locally as well! |
Okay, separately from sorting out the CI failure here, the point is that leanprover-community/mathlib4#8216 is currently failing when trying to compile Mathlib on the toolchain from leanprover/lean4#2749, and the failure is from ProofWidgets! |
I see, I think it's because that PR points at the |
Ah, no, am I reading correctly that it also failed while pointed at |
@Vtec234 The underlying compatibility issue with the PR is that the ProofWidgets hard-codes references to ProofWidgets4/ProofWidgets/Compat.lean Line 174 in f1a5c78
A forward-compatible fix would be to manually set |
Shouldn't it be the other way? That As long as it will work downstream in Mathlib I don't really mind! |
@semorrison True, one solution is to change the hard-coded value to the new default. However, I think setting |
Oh, I meant that |
@semorrison Loading the workspace for this seems like undesirable overhead. In the future, it may be able to get this information without paying that cost, but that is not currently the case. To me, the best long-term solution is to to stick the JS files in a fixed location the code can rely on them being in (and Lake currently doesn't provide that and is unlikely to do so in the near future). |
Hmm... my reaction to all of this is that we should not provide any ability to customize the build directory, if providing customization leaves us in this situation! But that is not a discussion for this PR. @Vtec234, are you happy with |
@Vtec234 Or |
|
I made a release, |
Okay, I have updated leanprover-community/mathlib4#8216 to use the pre-release. |
@Vtec234 Since this is a backwards- and forwards-compatible fix, it seems like it can be merged independently of the upstream PR. What do you think? |
For sure. I made that change on |
.lake
directory for Lake outputs leanprover/lean4#2749