|
Hi everybody,
I fail to remember or re-google the package version selection for cabal, if no version constraints are given. If I depend on "iteratee", and there are no constraints, does it take the lowest version? When I pushed the newest version of the RNAFold package, the log showed iteratee-0.1.0 to be used, which failed of course: http://hackage.haskell.org/packages/archive/RNAFold/1.99.1.0/logs/failure/ghc-7.4 It got really weird, however when I saw that the dependency BiobaseVienna-0.2.2.3, which is the one actually using iteratee, was built correctly. Of course, seeing the error of my way, I have started adding more version constraints to every package I maintain. Gruss, Christian _______________________________________________ Glasgow-haskell-users mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
|
On 12-03-30 06:37 PM, Christian Höner zu Siederdissen wrote:
> I fail to remember or re-google the package version selection for cabal, > if no version constraints are given. > > If I depend on "iteratee", and there are no constraints, does it take > the lowest version? It takes the highest version. To verify, I fetched RNAFold.cabal of 1.99.1.0 and tried: cabal install --dry-run Its answer: Resolving dependencies... In order, the following would be installed (use -v for more details): ListLike-3.1.4 MonadCatchIO-transformers-0.2.2.3 OneTuple-0.2.1 PrimitiveArray-0.2.1.1 ADPfusion-0.0.1.0 bytestring-lexing-0.4.0 cmdargs-0.9.5 csv-0.1.2 file-embed-0.0.4.1 iteratee-0.8.8.1 ... It chooses the newest iteratee alright. I don't know what is going on with hackage's build bot. And I can't control it anyway. _______________________________________________ Glasgow-haskell-users mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
|
Thanks,
that was a rather curious problem then. With more version annotations, hackage compiled everything. Thanks for for testing! Gruss, Christian * Albert Y. C. Lai <[hidden email]> [31.03.2012 03:58]: > On 12-03-30 06:37 PM, Christian Höner zu Siederdissen wrote: > >I fail to remember or re-google the package version selection for cabal, > >if no version constraints are given. > > > >If I depend on "iteratee", and there are no constraints, does it take > >the lowest version? > > It takes the highest version. > > To verify, I fetched RNAFold.cabal of 1.99.1.0 and tried: > > cabal install --dry-run > > Its answer: > > Resolving dependencies... > In order, the following would be installed (use -v for more details): > ListLike-3.1.4 > MonadCatchIO-transformers-0.2.2.3 > OneTuple-0.2.1 > PrimitiveArray-0.2.1.1 > ADPfusion-0.0.1.0 > bytestring-lexing-0.4.0 > cmdargs-0.9.5 > csv-0.1.2 > file-embed-0.0.4.1 > iteratee-0.8.8.1 > ... > > It chooses the newest iteratee alright. > > I don't know what is going on with hackage's build bot. And I can't > control it anyway. > > > _______________________________________________ > Glasgow-haskell-users mailing list > [hidden email] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list [hidden email] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users |
| Powered by Nabble | Edit this page |
