-
Notifications
You must be signed in to change notification settings - Fork 207
Support Cabal-3.16 #1419
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 Cabal-3.16 #1419
Conversation
| putCopy JHC = contain $ putWord8 7 | ||
| putCopy LHC = contain $ putWord8 8 | ||
| putCopy UHC = contain $ putWord8 9 | ||
| #if !MIN_VERSION_Cabal_syntax(3,16,0) |
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.
Wouldn't it make sense to drop support for HaskellSuite as well?
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.
Dunno, this is just a minimal patch to get Hackage Server building.
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.
There is no mention of HaskellSuite removal in https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.16.0.0.md. Is that a mistake in code or changelog?
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.
Note: the safe-copy instances are part of acid-state persistence. Hopefully this won't cause problems with migration, but it could (it's not the same as adding constructor, like with MHS few releases back).
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.
There is no mention of HaskellSuite removal in https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.16.0.0.md. Is that a mistake in code or changelog?
I see:
Remove knowledge about hmake and haskell-suite haskell/cabal#10912
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.
@ulysses4ever that's a breaking change in library API. It's significant change.
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.
Fair point, thank you! Will try to adjust the process so that we get all API changes marked as significant.
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.
Also, removing HaskellSuite constructor was completely unnecessary, AFAICT.
There is e.g. Helium and being in this (pseudo)enum is the only reference of it.
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.
Also, removing
HaskellSuiteconstructor was completely unnecessary, AFAICT.
Yeah, maybe.
There is e.g.
Heliumand being in this (pseudo)enum is the only reference of it.
At least Helium once existed, in contrast to HaskellSuite: https://hackage.haskell.org/package/helium
|
@Bodigrim Can this be merged? GHC 9.14 alpha is out now. |
|
@andreasabel this is ready to be merged from my perspective, feel free to. |
No description provided.