[Haskell-cafe] Cabal 1.8 ignores bounds in test-suite sections?

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Tue Dec 9 13:09:37 UTC 2014

On Tue, Dec 09, 2014 at 12:48:17PM +0000, Tom Ellis wrote:
> I have a cabal file with two test suites
>     https://github.com/tomjaguarpaw/haskell-opaleye/blob/master/opaleye.cabal
> If I change the dependency in "test-suite tutorial", say, from `profunctors`
> to `profunctors >= 0.6` then the bound is completely ignored and cabal will
> attempt to compile and run the test suite even without a suitable version
> present.

For precision I should say I meant `product-profunctors >= 0.6`.

But in any case the exact example irrelevant since it doesn't matter if I
specify `product-profunctors >= 100` or `base >= 1000000` in a test-suite
section.  It's ignored.

More information about the Haskell-Cafe mailing list