[Haskell-cafe] how to determine the dependency versions before
packaging and submitting to hackage
magnus at therning.org
Sun Oct 11 05:56:40 EDT 2009
Andrew U. Frank wrote:
> i plan to submit a package to hackage. i run it on my machine with a cabal file
> which has for all dependencies "any" (except for base, where it says >=4.0 --
> see previous discussion on haskell-cafe).
> i am not certain, if my code runs agains any version, but i fear it is too
> restrictive to say >= "current version", which could exclude too much? testing
> against all previous versions of the packages seems complicated and very time
> what is the advice in this case?
I usually take a conservative approach, I only put in requirements that I can
verify myself. However, I make sure to include all tests and if someone
reports that it works with looser requirements then I'm happy to adjust it.
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus＠therning．org Jabber: magnus＠therning．org
http://therning.org/magnus identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20091011/124a3c08/signature.bin
More information about the Haskell-Cafe