-
Notifications
You must be signed in to change notification settings - Fork 110
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
Relax mtl requirement #201
Relax mtl requirement #201
Conversation
This let's `tasty` compile with bundled `transformers-0.3` with GHC-7.8.*. That's important for packages using e.g. `doctest` in their (other) test-suites, as then `transformers` cannot be re-installed.
Thanks! This is the fix for #200 that I was too lazy to write myself :) |
Don't merge yet, I'll amend this PR in a few minutes. |
with 0.11-0.13 we get an error ``` Test/Tasty/Patterns.hs:41:10: Ambiguous occurrence `runParser' It could refer to either `Test.Tasty.Patterns.Parser.runParser', imported from `Test.Tasty.Patterns.Parser' at Test/Tasty/Patterns.hs:14:1-33 (and originally defined at Test/Tasty/Patterns/Parser.hs:57:1-9) or `Options.Applicative.runParser', ```
This also broke Cabal build: I made second revision for EDIT interestingly |
Thanks Oleg, I'll merge & release shortly. Do you know why Cabal sometimes picks older versions of dependencies? Is there a way to catch these types of breakage before a release? Edit: just realized this doesn't need a release. |
Roman, there's some package with a bound forcing solver to pick older release. In the About testing the lower-bounds. You might noticed a recent blog post of mine which introduces
It won't be perfect, as a version of dependency might work with some GHC and don't with other, but still - better than nothing. |
That's what I thought, but then adding a lower bound wouldn't fix it, right? It would just lead to an absent build plan. At least in Ryan's case, when I bumped the mtl bound, his build worked, which means there wasn't a hard upper bound.
Nice! (I saw it earlier, but didn't realize it was useful for me since I'm not a trustee.) So, could I just add |
Oh wait, I do need to make a release to relax the mtl bound. Released as 1.0.0.1 now. |
@feuerbach thanks for the release!
In Cabal case, yes, it cannot yet use
Not sure about Ryan's case, I think he hadn't projects with both About There are various small unimplemented features I'd like to have (like setting failure exit code), but most importantly: it's slow, and I don't know how to fix that (it has to rebuild a lot of stuff). For
The big cold cache time is caused by older Also I don't know how to find right lower bound otherwise than by doing linear scan from the bottom which is slow for newer compilers, as it have to check many versions. On the other hand, binary search won't do it, as e.g. https://matrix.hackage.haskell.org/package/tagged has weird structure, and there are many packages with similar "not diagonal strip" matrices. One idea would be to try major versions first |
This let
tasty
compile with bundledtransformers-0.3
with GHC-7.8.*.That's important for packages using e.g.
doctest
in their (other)test-suites, as then
transformers
cannot be re-installed.