Dear Hackage Trustees,
the title is a mouthful but I am wondering if we have a policy for the following situation:
pkg-a (the dependant) depends on pkg-b (the dependency) and on pkg-c <2
pkg-b also depends on pkg-c <2
Clearly, in this situation, pkg-a cannot be built with pkg-c==2.
My question is, what if pkg-a builds and works correctly with pkg-c==2 when pkg-b is patched/replaced/revised to work with pkg-c==2? Can we revised pkg-a to allow pkg-c==2?
For those who don't or cannot patch/replace/revise pkg-b, pkg-b constraint on pkg-c will be active and prevent pkg-a from building with pkg-c==2 just as before. But those who have the patched/replaced/revised of pkg-b will be able to use pkg-a the way it is without relaxing more constrinats.
This is basically the situation behind #358. Note that I don't think this is necessarily a IOG specific problem, developers could have been vendoring pkg-b in their projects to patch pkg-b to work with pkg-c==2. In that case it would have been necessary to also add allow-newer: pkg-a:pkg-c. I am wondering whether we think this is necesary or can be avoided.
Dear Hackage Trustees,
the title is a mouthful but I am wondering if we have a policy for the following situation:
pkg-a(the dependant) depends onpkg-b(the dependency) and onpkg-c <2pkg-balso depends onpkg-c <2Clearly, in this situation,
pkg-acannot be built withpkg-c==2.My question is, what if
pkg-abuilds and works correctly withpkg-c==2whenpkg-bis patched/replaced/revised to work withpkg-c==2? Can we revisedpkg-ato allowpkg-c==2?For those who don't or cannot patch/replace/revise
pkg-b,pkg-bconstraint onpkg-cwill be active and preventpkg-afrom building withpkg-c==2just as before. But those who have the patched/replaced/revised ofpkg-bwill be able to usepkg-athe way it is without relaxing more constrinats.This is basically the situation behind #358. Note that I don't think this is necessarily a IOG specific problem, developers could have been vendoring
pkg-bin their projects to patchpkg-bto work withpkg-c==2. In that case it would have been necessary to also addallow-newer: pkg-a:pkg-c. I am wondering whether we think this is necesary or can be avoided.