[Hackage] #746: Cabal should complain if you give an upperbound on Cabal-Version

#746: Cabal should complain if you give an upperbound on Cabal-Version ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Some packages (e.g. `NaturalSort-0.2.1`) give an upper-bound on `Cabal- Version`. This doesn't make sense for this field, so Cabal should complain about it (or perhaps even reject it). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/746 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#746: Cabal should complain if you give an upperbound on Cabal-Version ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Comment(by duncan): I am thinking of ignoring upper bounds entirely. Also, if the package says that it uses a more recent Cabal spec version then to reject version ranges not of the form ">= x.y". That is, this would be allowed: {{{ cabal-version: >= 1.6 && < 1.9 }}} We would just ignore the upper bound. But this would be rejected: {{{ cabal-version: >= 1.10 && < 1.11 }}} The rationale is that the first one is saying that it's following Cabal spec version 1.6 which did allow arbitrary version ranges. As of Cabal spec version 1.10 we do not allow arbitrary version ranges. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/746#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#746: Cabal should complain if you give an upperbound on Cabal-Version ----------------------------+----------------------------------------------- Reporter: igloo | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Comment(by elga): * [http://www.releve-identite-operateur.fr/rio-bouygues.html rio bouygues] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/746#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage