Don't show the "Unknown/unsupported 'ghc' version detected" warning at default verbosity #9734
Labels
re: version
About the version of the Cabal library and cabal-install
re: warnings
Concerning warnings printed by cabal
release
type: discussion
type: RFC
Requests for Comment
Here's the warning
cabal/Cabal/src/Distribution/Simple/GHC.hs
Lines 164 to 174 in 3a275e5
The rationale is that our release sync method with GHC releases has changed and now Cabal is supposed to release a new version before GHC releases theirs and so we can't easily test that the new GHC works fine with the new cabal release. What we and the fine GHC folk can do is analyse the API and make the best effort and then be on a lookup for problems. That makes this warning much weaker than it was before (or rather, the lack of the warning gives much weaker guarantees than if GHC was in CI before the warning is enabled for a given GHC version). So I'd propose to show it only at verbosity one notch higher than the default. We also had a case where we needed to do a lightning fixup release only to silence the warning, because it's so spammy and that's not a good use of cabal maintainer time and sanity.
Thoughts? Related: #9729
The text was updated successfully, but these errors were encountered: