You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running cabal gen-bounds will give bounds for the library in my .cabal file. I would also like to see additional bounds for the executables, test-suites and benchmarks.
The text was updated successfully, but these errors were encountered:
With the way cabal check currently works, this results in an awkward situation:
$ cabal check
Warning: These warnings may cause trouble when distributing the package:
Warning: These packages miss upper bounds:
- tasty
- tasty-golden
Please add them, using `cabal gen-bounds`for suggestions. For more
information see: https://pvp.haskell.org/
$ cabal gen-bounds
Resolving dependencies...
Congratulations, all your dependencies have upper bounds!
I realized cabal check no longer generates above warnings for tests (and benchmarks) on master, since #8361 got merged. I still think it may be beneficial for cabal gen-bounds to generate the bounds for these internal targets nonetheless. Would it be counterintuitive for gen-bounds to generate bounds when check doesn't complain about the lack of them? If not, I can try my hand at implementing this.
Running
cabal gen-bounds
will give bounds for the library in my .cabal file. I would also like to see additional bounds for the executables, test-suites and benchmarks.The text was updated successfully, but these errors were encountered: