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

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Tue Dec 9 12:57:30 UTC 2014


Sorry, that was misleading.  What I meant was "when specifying
'cabal-version: >= 1.8' in the cabal file", but still the same happens if I
specify 'cabal-version >= 1.18'.

On Tue, Dec 09, 2014 at 12:50:59PM +0000, Michael Snoyman wrote:
> Do you mean "1.18" instead of "1.8"?
> 
> On Tue Dec 09 2014 at 2:48:29 PM Tom Ellis <
> tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> 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.
> >
> > Is this expected behaviour?
> >
> > Tom
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list