-
Notifications
You must be signed in to change notification settings - Fork 691
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
CI doesn't test installation from Hackage #9835
Comments
Seems like the correct course of action is to capture the sdists from a build as artifacts and generate a local no-index repo from them, then do a build without a |
Yes, sounds plausible. If we just do |
#6955 claims that releases are done from sdists, but in fact they're done from a clone of this repo on Gitlab. I think that's necessary, since they need to be done with |
@ulysses4ever didn't understand the problem from the above description, so I'll try to expand upon it.
ghcs that include a Some ramifications of this are:
|
FTR, it's been decided that that change should not have been backported, so I am revising my WIP (not yet a PR) to fail if it happens again. |
Describe the bug
See #9833.
Neither standard nor release CI tests building from Hackage; both always use the
Cabal
andCabal-syntax
in our tree, viapackages:
lines in their respectivecabal.project
files. You have to build from Hackage using a ghc that ships withCabal
3.10.x to get a failure: older versions will fail the^>= 3.10
version constraint, and the solver will then prefer the newest version and the build will succeed.The text was updated successfully, but these errors were encountered: