[Hackage] #813: Cabal should warn if the Cabal-Version range is too lax

Hackage cvs-ghc at haskell.org
Sun Mar 13 12:33:03 CET 2011


#813: Cabal should warn if the Cabal-Version range is too lax
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:          
      Type:  enhancement    |       Status:  new     
  Priority:  normal         |    Milestone:          
 Component:  Cabal library  |      Version:  1.10.1.0
  Severity:  normal         |     Keywords:          
Difficulty:  unknown        |   Ghcversion:          
  Platform:                 |  
----------------------------+-----------------------------------------------
 I have a Cabal file that contains the line
 {{{
 Cabal-Version: >=1.6
 }}}
 and then a test section:
 {{{
 Test-Suite test-mypkg
 }}}
 Cabal should issue a warning like:
 {{{
 Test-Suite feature requires Cabal-Version: >=1.10.
 Your Cabal version range ">=1.6" is too lax.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/813>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list