-
Notifications
You must be signed in to change notification settings - Fork 210
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add a stack-8.8.1.yaml file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than those options LGTM
I suggested to use |
@fendor much as I hate CPP, I would rather be clear about what we are actually using. |
@alanz the advantage of the original approach ( Currently every new GHC/base produces a lot of churn adding new CPP all over the place. If we warn instead, in most cases we will only have to remove imports when they show up as warning on the oldest GHC. |
Strange error without a
|
Any GHC related CPP should go into the GhcCompat module? so it's easy to remove when old versions stop being supported. |
@mpickering While uses of CPP conditional imports could conceivable be refactored to This the last argument I'll make against unneeded CPP, unless told otherwise I'll rework the PR to use CPP tomorrow. |
@Avi-D-coder to me this is a balancing of two bad things
For me I prefer to suffer CPP for having clean builds, so I know that anything that shows up needs investigation. |
This closes #1353 |
34be1b1
to
8134ef4
Compare
Hie-bios thinks hie.yaml
|
We cant set the used stack.yaml to use via hie.yaml, yet. Missing feature upstream in hie-bios. |
@fendor is bios using stack-8.6.5.yaml? |
Oh right, no, that is the other problem. In a multi-cradle, we dont know we are actually a stack cradle, so the wrapper asks |
8134ef4
to
c5dd3af
Compare
2225c94
to
2724bf4
Compare
@jneira Since all issues and feedback have been adressed, afaict, I root for a merge! It would be nice so we have some time to dogfood changes before the next release! |
Well, at least in linux and macos, i'll have to wait to ghc-8.8.2 for windows. |
Bumping the stack nightly resolver, removes an extra dep. |
@jneira Any idea why azure is failing? haskell-ide-engine> Failures:
haskell-ide-engine>
haskell-ide-engine> test/unit/CabalHelperSpec.hs:38:5:
haskell-ide-engine> 1) CabalHelper, cabal-helper spec, cradle discovery, dummy filepath, finds none-cradle, implicit exe, dummy filepath
haskell-ide-engine> uncaught exception: IOException of type OtherError
haskell-ide-engine> callProcessStderr: cabal v2-build --with-ghc=/home/vsts/.stack/programs/x86_64-linux/ghc-8.8.1/bin/ghc --with-ghc-pkg=/home/vsts/.stack/programs/x86_64-linux/ghc-8.8.1/bin/ghc-pkg --with-haddock=/home/vsts/.stack/programs/x86_64-linux/ghc-8.8.1/bin/haddock --project-file=/home/vsts/work/1/s/test/testdata/cabal-helper/implicit-exe/cabal.project --builddir=/home/vsts/work/1/s/test/testdata/cabal-helper/implicit-exe/dist-newstyle --dry-run all (exit 1): failed
haskell-ide-engine>
haskell-ide-engine> To rerun use: --match "/CabalHelper/cabal-helper spec/cradle discovery/dummy filepath, finds none-cradle/implicit exe, dummy filepath/"
haskell-ide-engine>
haskell-ide-engine> test/unit/CabalHelperSpec.hs:56:5:
haskell-ide-engine> 2) CabalHelper, cabal-helper spec, cradle discovery, Existing projects, implicit exe
haskell-ide-engine> uncaught exception: IOException of type OtherError
haskell-ide-engine> callProcessStderr: cabal v2-build --with-ghc=/home/vsts/.stack/programs/x86_64-linux/ghc-8.8.1/bin/ghc --with-ghc-pkg=/home/vsts/.stack/programs/x86_64-linux/ghc-8.8.1/bin/ghc-pkg --with-haddock=/home/vsts/.stack/programs/x86_64-linux/ghc-8.8.1/bin/haddock --project-file=/home/vsts/work/1/s/test/testdata/cabal-helper/implicit-exe/cabal.project --builddir=/home/vsts/work/1/s/test/testdata/cabal-helper/implicit-exe/dist-newstyle --dry-run all (exit 1): failed
|
Mmm, they are failing when the |
@Avi-D-coder @jneira needed to bump the base in the implicit-exe test project, just fixed that in 9220fda, try rebasing again now |
When you guys have rebased, got the tests passing, I am happy for it to go in. |
All the circleci tests pass. I have no idea why those particular azure tests are failing. they seem unrelated to each other and this pr? |
So windows 8.4.4 is broken the other two are already failing on master. Can a windows user take a look at it, I'm without a way of debugging it. 8.4 is also pretty old at this point, so we could just disable it's test on windows. |
Mmm, i've reviewed the different azure ci results:
|
@Avi-D-coder Thanks for the contributions. |
I am getting a stack install fail, we did not add an ormolu dep. See https://gist.github.com/alanz/c0069393a899a8625283396999d12059 |
And to be fair, ormolu support was merged into master just before this.
Oops.
…On Sun, 19 Jan 2020 at 23:06, Alan Zimmerman ***@***.***> wrote:
I am getting a stack install fail, we did not add an ormolu dep. See
https://gist.github.com/alanz/c0069393a899a8625283396999d12059
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1482?email_source=notifications&email_token=AADEAB2BROXN4ZVWFB4D6M3Q6TMHNA5CNFSM4J6CVMAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK7EKA#issuecomment-576057896>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADEAB5UCOTVURGR3X5EE73Q6TMHNANCNFSM4J6CVMAA>
.
|
@alanz Thanks for the collaborator invite. |
For the record, #1481, ping @DavSanchez |
|
Running ormolu test with relaxed upper bounds as we speak. I'll send a PR in a minute. |
Hi! It seems like the solution for the build issues is already underway? If I can be of any help with this please let me know. |
I'm not particularly happy with per file pragmas, demoting unused imports to a globally warning is cleaner.
Once
apply-refact
is updated we can remove the submodule. Preferably before merging.