-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inaccurate/missing version bounds #473
Comments
@hvr thanks for posting this. Admittedly, With that being said I am all for retroactively adding version bounds to help the cabal workflow if indeed this is showing errors for users, and also simply for the fact that |
btw, I hope that'll get better soon. I've started packaging
In principle we have all historical information of the Hackage index contained in the |
Describe the bug
Inaccurate/omitted version bounds in package description
As can be seen at https://matrix.hackage.haskell.org/package/miso@1548087346 this has a devastating effect on Hackage users as it effectively means that the
miso
package descriptions are underspecified and Cabal therefore doesn't have enough information to compute sound (i.e. that typecheck and are semantically sound) build-plans. In other words, all red cells om that report are symptoms of the bug at hand.In order to fix this it'll be necessary to reconstruct/reverse-engineer the appropriate bounds and retroactively inject them into all affected
miso
releases via Hackage metadata revision as this can not be resolved by (only) uploading a new release ofmiso
as cabal's constraint solver will still be allowed to backtrack to any of the previous releases with missing/inaccurate bounds. You can do this yourself viahttps://hackage.haskell.org/package/floskell-0.9.0/floskell.cabal/edit
or, in my function as Hackage Trustee, I can assist you and help you with the revisions.
Going forward, we need your help! Please help us ensure a good user experience for users of Hackage/Cabal by the use of the PVP mandated lower&upper bounds in order to reduce the penalty on the Hackage infrastructure as well as to avoid unnecessary extra work for you as well as for us Hackage Trustees!
The use of CI testing (such as https://github.com/haskell-CI/haskell-ci) can greatly help identify & prevent such incidents early on before they enter the primary Hackage index. Let me know if you need any assistance with CI or have any questions related to it.
The text was updated successfully, but these errors were encountered: