-
Notifications
You must be signed in to change notification settings - Fork 804
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
[ghc-9.10] Cabal-3.12 #7547
Comments
Hi! I'm not sure how to interpret this ticket, but OOI, why does it mention Cabal-3.12.0.0 instead of Cabal-3.12.1.0 (or Cabal-3.14.0.0 for that matter)? |
@Mikolaj The problem is that GHC 9.10.1 ships the 3.12.0.0 edition of
And there is no such edition for Not sure how to proceed here. One option would be to wait for GHC 9.10.2 which hopefully ships the 3.12.1.0 edition, but a release does not seem imminent judging from the milestone: https://gitlab.haskell.org/ghc/ghc/-/milestones/399#tab-issues Can cabal-install-3.12.1.0 be built and work with Cabal-3.12.0.0? |
cabal2spec-2.7.1 is fixed on Hackage in revision 1. |
I don't think cabal-install is a real blocker for bumping Nightly - we didn't have it in nightly before 9.8.3 was released either. Though everything being equal I suppose I would prefer to start with 9.10.2, which might appear before long? Though I can lament the "instability" of cabal-install and stack in Stackage - it seems a never ending battle/dance to have them available: I wish upstreams were more aware of this, though it sounds like stack HEAD might be okay for 9.10 nightly (it dropped out with 9.8.3). |
Oh, I see.
We'd need to double-check in cabal-install-3.12.1.0 and Cabal-3.12.1.0 changelogs, but I guess there should be no problem running cabal-install-3.12.1.0 with Cabal-3.12.0.0, once the deps are revised (on Hackage or locally). The changelog for cabal-install-3.12.1.0 even says "this is the first release of cabal-install that is fully compatible with Cabal 3.12.0.0 as released with GHC 9.10.1". @ulysses4ever, what do you think? |
revised |
Indeed, I just tried it, and, at least, it builds. Normally the tool is tightly coupled with the library and doesn't guarantee to build with a mismatched version, that's why we bump the lower bounds almost unconsciously. But that does feel a little restrictive, perhaps. I complained about that myself recently to @Kleidukos (I can't remember where and find a link), and he said that's how it's supposed to be. So, I'd be interested to hear what he says about the problem Stackage runs into. |
Bumped the bounds via a revision for |
Fourmolu 0.16.2.0 supports Cabal 3.12, so it just needs to be bumped, see #7449 |
GHC 9.10.2 was scheduled for July 2024, but that must have slipped somehow. If I understand correctly, cabal-install is optional, so Nightly can use GHC 9.10.1 while GHC 9.10.2 is not released, and this issue remains unsolved. |
Heads-up for ghc-9.10 (current nightly is still 9.8)
Cabal-3.12.0.0 (changelog) is out of bounds for:
Cabal-syntax-3.12.0.0 (changelog) is out of bounds for:
The text was updated successfully, but these errors were encountered: