Open
Description
This can cause the build to fail when the setup-depends
range for Cabal is less restrictive than the cabal-version
for a given package. See #3723 (comment).
The current behavior is technically correct, because it is possible for a setup script to depend on one version of Cabal and implement the command interface from a different version. I think it would be better to prevent build failures in the more common case, though.
One solution is to update the setup-depends
constraint on Cabal to reflect cabal-version
before dependency solving.