#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: | ----------------------------+-----------------------------------------------
Comment(by duncan): When you run `cabal check` it does issue a warning: {{{ The following errors will cause portability problems on other environments: * The 'test-suite' section is new in Cabal 1.10. Unfortunately it messes up the parser in older Cabal versions so you must specify at least 'cabal-version: >= 1.8', but notethat only Cabal 1.10 and later can actually run such test suites. }}} We do not however want to require that all .cabal files with test-suites specify `cabal-version: >= 1.10` because this would then prevent such packages from building with older Cabal versions. Cabal-1.8 will just ignore unknown sections, so it can continue to build packages that have test-suite sections. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/813#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel