Skip to content
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

Support ghc-9.8.1 #327

Closed
erikd opened this issue Oct 11, 2023 · 4 comments
Closed

Support ghc-9.8.1 #327

erikd opened this issue Oct 11, 2023 · 4 comments

Comments

@erikd
Copy link
Contributor

erikd commented Oct 11, 2023

If I allow-newer: cborg:* then it builds with ghc-9.8.1 . That means the new compiler can be supported with the following dependency updates:

> (cd serialise/ && cabal outdated)
Outdated dependencies:
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
containers >=0.5 && <0.7 (latest: 0.7)
ghc-prim >=0.3.1.0 && <0.11 (latest: 0.11.0)
primitive >=0.5 && <0.9 (latest: 0.9.0.0)
text >=1.1 && <2.1 (latest: 2.1)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
containers >=0.5 && <0.7 (latest: 0.7)
primitive >=0.5 && <0.9 (latest: 0.9.0.0)
tasty >=0.11 && <1.5 (latest: 1.5)
text >=1.1 && <2.1 (latest: 2.1)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
deepseq >=1.0 && <1.5 (latest: 1.5.0.0)
aeson >=0.7 && <2.2 (latest: 2.2.1.0)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
deepseq >=1.0 && <1.5 (latest: 1.5.0.0)
ghc-prim >=0.3.1.0 && <0.11 (latest: 0.11.0)
aeson >=0.7 && <2.2 (latest: 2.2.1.0)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
containers >=0.5 && <0.7 (latest: 0.7)
deepseq >=1.0 && <1.5 (latest: 1.5.0.0)
ghc-prim >=0.3.1.0 && <0.11 (latest: 0.11.0)
text >=1.1 && <2.1 (latest: 2.1)

> (cd cborg-json/ && cabal outdated)
Outdated dependencies:
aeson >=0.7 && <2.2 (latest: 2.2.1.0)
base >=4.11 && <4.19 (latest: 4.19.0.0)
text >=1.1 && <2.1 (latest: 2.1)
aeson >=0.7 && <2.2 (latest: 2.2.1.0)
base >=4.7 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
tasty >=0.11 && <1.5 (latest: 1.5)
text >=1.1 && <2.1 (latest: 2.1)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
deepseq >=1.0 && <1.5 (latest: 1.5.0.0)

> (cd cbor-tool/ && cabal outdated)
Outdated dependencies:
aeson >=0.7 && <2.2 (latest: 2.2.1.0)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10 && <0.12 (latest: 0.12.0.2)
text >=1.1 && <2.1 (latest: 2.1)

> (cd binary-serialise-cbor/ && cabal outdated)
Outdated dependencies:
base >=4.11 && <4.19 (latest: 4.19.0.0)

> (cd cborg && cabal outdated)
Outdated dependencies:
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
containers >=0.5 && <0.7 (latest: 0.7)
deepseq >=1.0 && <1.5 (latest: 1.5.0.0)
ghc-prim >=0.3.1.0 && <0.11 (latest: 0.11.0)
primitive >=0.5 && <0.9 (latest: 0.9.0.0)
text >=1.1 && <1.3 || >=2.0 && <2.1 (latest: 2.1)
aeson >=0.7 && <2.2 (latest: 2.2.1.0)
base >=4.11 && <4.19 (latest: 4.19.0.0)
bytestring >=0.10.4 && <0.12 (latest: 0.12.0.2)
deepseq >=1.0 && <1.5 (latest: 1.5.0.0)
primitive >=0.5 && <0.9 (latest: 0.9.0.0)
tasty >=0.11 && <1.5 (latest: 1.5)
text >=1.1 && <2.1 (latest: 2.1)

These can all be done as a Hackage metadata edit.

Let me know if you would prefer a PR.

@phadej
Copy link
Contributor

phadej commented Oct 15, 2023

Adding support for primitive-0.9 would be nice too. (Though primitive-0.8 works with GHC-9.8 too)

@erikd
Copy link
Contributor Author

erikd commented Nov 2, 2023

PR is #328

@andreasabel
Copy link
Contributor

The linked PR also fixes the aeson < 2.2 problem which risks cborg to drop out of Stackage:

ATTN: @Saizan (Hello Andrea! 🎉 )

@adamgundry
Copy link
Member

Looks like this was resolved by #328 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants