-
Notifications
You must be signed in to change notification settings - Fork 20
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
comment out failing tests, fixes #217 #221
Conversation
I would much rather fix those tests, but this is the more expedient way to proceed for now.
The failure was
These warnings seem benign, but I don't know how to tweak the test to ignore them. So I'll comment it out for now and bring the test back in #220. |
Still failing. This time the failure is
I'm afraid this means every single test is going to fail this way one after the other, so commenting out the tests which fail would imply disabling testing altogether. Is there a less drastic solution? |
Progress! Two out of three builds used to fail, now there's one one which fails. It fails while building
|
...which is pretty strange, because it is only the cabal build, which succeeds, which is installing |
I can reproduce the problem by clearing part of my |
Indeed, that bug was recently reported: commercialhaskell/stack#5253 |
The reason I am building with I don't care if my bounds are a bit too high; but I really don't want cabal to think it found a good build plan which turns out to actually be a bad plan much later in the build because of some lies I told it, that's terrible UX. If cabal thinks it cannot find a build plan at all, that's still frustrating, but at least there is a clear explanation: two dependencies are incompatible. To check that my lower bounds are correct, I would ideally use kabal, but since that has never been released nor incorporated into cabal as an option, I decided this approach is too difficult. Another approach would be to use a cabal freeze file which sets all my dependencies to the lowest version I support; this way, if the build which uses that freeze file fails, I'll know it's because my bounds are too low. The problem with that approach is that I then have to construct a new freeze file with slightly higher dependencies, and since packages sometimes need to be upgraded in unison, it's not as easy as bumping the bounds of one package at a time. This, finally, is why I am building with Now, the reason the |
|
It builds. But I now have another idea! According to this comment, the reason happy fails to build is because it wants happy to already be in the PATH. So another way to fix the problem should be to install (a newer version of) happy separately, just like I do when building with cabal. |
I would much rather fix those tests, but this is the more expedient way to proceed for now.