-
Notifications
You must be signed in to change notification settings - Fork 697
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
ci: Version of cabal-install installed by setup-haskell should be specified precisely #10175
Comments
We went back and forth about it, see #8133 The reason is that we didn't quite understand (I think) the issue with cabal-testsuite's custom setup and in particular the versions of Cabal(-syntax) it requires. After reading your message I realized that the comment in the cabal file: cabal/cabal-testsuite/cabal-testsuite.cabal Lines 146 to 152 in 1837262
is not quite precise: it claims that you have to use the latest versions of the library and the latest version of the tool for everything to work, whereas it appears to work with any version provided that it's the same version of the library and the tool. I just confirmed it by checking out master , reverting #10172 and reverting my local cabal-instlall to 3.10.
I used to argue for using |
use fixed cabal version per #10175
(cherry picked from commit 273cb0a)
(cherry picked from commit 273cb0a)
At the moment the
latest
version ofcabal-install
is installed for validate jobs.This had the effect of completely breaking CI when the definition of "latest" changed. It would be better to explicitly pin a specific version of cabal-install here and update it in a controlled manner.
See #10172
The text was updated successfully, but these errors were encountered: