haskell / hackage-security

Hackage security framework based on TUF (The Update Framework)
http://hackage.haskell.org/package/hackage-security
56 stars 47 forks source link

support ghc-9.0: base-4.15 and template-haskell-2.17 #253

Closed juhp closed 2 years ago

juhp commented 3 years ago

Just a ticket to track support for ghc-9.0

base-4.15.0.0 (changelog) is out of bounds for:

template-haskell-2.17.0.0 (changelog) is out of bounds for:

Mikolaj commented 2 years ago

I think this fixed now on master branch and I'm going to release RSN. Could you check the current codebase works for you and nothing extremely urgent is missing? Thank you!

juhp commented 2 years ago

Thank you!

I mostly filed this on behalf of Stackage - probably should be fine to go ahead and release it. I think if cabal-install and pantry can build with this version it should be good to go.

You could also add ghc-9.0 to the GH action: eg ghc: ['9.0', '8.10', '8.8', '8.6'] (possibly dropping 8.6 is you don't want too many jobs there).

juhp commented 2 years ago

Ah so I tested trying my cabal-file project and hit:

ghc-prim-0.7.0 (changelog) is out of bounds for:

juhp commented 2 years ago

So I opened thoughtpolice/hs-ed25519#30 ...

juhp commented 2 years ago

That one is already fixed now

juhp commented 2 years ago

And now I can build cabal-file with your repo

Mikolaj commented 2 years ago

\o/

juhp commented 2 years ago

Of course cabal-install can't build with ghc9 yet...

Mikolaj commented 2 years ago

Actually it should, soon, once this PR is merged: https://github.com/haskell/cabal/pull/7907