Stack: Warnings about untested GHC and Cabal

Created on 4 Mar 2020  路  4Comments  路  Source: commercialhaskell/stack

General summary/comments (optional)

Using the current version of stack (2.1.3) with the current major version of stackage LTS (15) produces the following warnings:

Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail
Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail

It does appear to work otherwise, but it's unclear if LTS 15 is supported by the current version of stack, or if it just works by chance in my specific case and it's better to wait for a new release.

Steps to reproduce

Run stack with resolver set to lts-15.x

Expected

No warnings about untested versions.

Actual

Warnings about untested versions.

Stack version

Version 2.1.3, Git revision 636e3a759d51127df2b62f90772def126cdf6d1f (7735 commits) x86_64 hpack-0.31.2

Method of installation

  • Official binary, downloaded from stackage.org or fpcomplete's package repository

Most helpful comment

This appears fixed by the release candidate 2.3.0.1 thanks to PR #5041. The problem was the lack of a release.
_If_ you want to upgrade to the release candidate (beware it might have other bugs), you can already use stack upgrade --binary-version 2.3.0.1.
(EDITED: merged comments together).

All 4 comments

Why does selecting an LTS give me an untested GHC? Shouldn't this be in the nightly or testing resolvers?

This appears fixed by the release candidate 2.3.0.1 thanks to PR #5041. The problem was the lack of a release.
_If_ you want to upgrade to the release candidate (beware it might have other bugs), you can already use stack upgrade --binary-version 2.3.0.1.
(EDITED: merged comments together).

thanks @Blaisorblade this fixes the warning problem at least

Now 2.3.1 has been released, also supporting GHC 8.10; you can upgrade with stack upgrade or following the usual docs.

So I'm tentatively closing this. :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sjakobi picture sjakobi  路  4Comments

s5k6 picture s5k6  路  3Comments

abhinav picture abhinav  路  4Comments

jwaldmann picture jwaldmann  路  4Comments

symbiont-joseph-kachmar picture symbiont-joseph-kachmar  路  3Comments