[Hackage] #420: cabal-install upgrade optionally ignore packages that want a higher base?

#420: cabal-install upgrade optionally ignore packages that want a higher base? ----------------------------+----------------------------------------------- Reporter: jimburton | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: | ----------------------------+----------------------------------------------- If I try to upgrade all packages it fails because syb wants a newer base: $ cabal upgrade Resolving dependencies... cabal: cannot configure syb-0.1.0.0. It requires base >=4.0 There is no available version of base that satisfies >=4.0 I don't want to upgrade GHC (in fact I can't right now) but I presume that there are other packages that could upgrade. Rather than run `cabal install' on them one by one, what about upgrading everything that is upgradeable, i.e. happy with the current base? There is a (misleading) analogy to the way apt treats releases -- it won't tell me "Can't upgrade because you're using the wrong release", but releases are self-contained and upgrades take place within that context...but obviously different because there you have different package lists for different releases... -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/420 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#420: cabal-install upgrade optionally ignore packages that want a higher base? ----------------------------+----------------------------------------------- Reporter: jimburton | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Changes (by jimburton): * type: defect => enhancement -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/420#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#420: cabal-install upgrade optionally ignore packages that want a higher base? ----------------------------+----------------------------------------------- Reporter: jimburton | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ----------------------------+----------------------------------------------- Old description:
If I try to upgrade all packages it fails because syb wants a newer base:
$ cabal upgrade Resolving dependencies... cabal: cannot configure syb-0.1.0.0. It requires base >=4.0 There is no available version of base that satisfies >=4.0
I don't want to upgrade GHC (in fact I can't right now) but I presume that there are other packages that could upgrade. Rather than run `cabal install' on them one by one, what about upgrading everything that is upgradeable, i.e. happy with the current base? There is a (misleading) analogy to the way apt treats releases -- it won't tell me "Can't upgrade because you're using the wrong release", but releases are self-contained and upgrades take place within that context...but obviously different because there you have different package lists for different releases...
New description: If I try to upgrade all packages it fails because syb wants a newer base: {{{ $ cabal upgrade Resolving dependencies... cabal: cannot configure syb-0.1.0.0. It requires base >=4.0 There is no available version of base that satisfies >=4.0 }}} I don't want to upgrade GHC (in fact I can't right now) but I presume that there are other packages that could upgrade. Rather than run `cabal install' on them one by one, what about upgrading everything that is upgradeable, i.e. happy with the current base? There is a (misleading) analogy to the way apt treats releases -- it won't tell me "Can't upgrade because you're using the wrong release", but releases are self-contained and upgrades take place within that context...but obviously different because there you have different package lists for different releases... -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/420#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#420: cabal-install upgrade optionally ignore packages that want a higher base? ---------------------------------+------------------------------------------ Reporter: jimburton | Owner: Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * milestone: => cabal-install-0.6 Comment: This can be done by doing an initial bottom-up pass over the packages to eliminate packages that cannot possibly be installed. It is also tied in with the ability to specify exclude constraints in the existing solver. This is because we do not want exclude constraints to cause immediate failure. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/420#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage