Skip to content

Conversation

@Bodigrim
Copy link
Contributor

No description provided.

putCopy JHC = contain $ putWord8 7
putCopy LHC = contain $ putWord8 8
putCopy UHC = contain $ putWord8 9
#if !MIN_VERSION_Cabal_syntax(3,16,0)
Copy link
Contributor

@ulysses4ever ulysses4ever Jul 26, 2025

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor

@phadej phadej Jul 27, 2025

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).

Copy link
Contributor

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

Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

@phadej phadej Aug 7, 2025

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.

Copy link
Member

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.

Yeah, maybe.

There is e.g. Helium and 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

@andreasabel
Copy link
Member

@Bodigrim Can this be merged? GHC 9.14 alpha is out now.

@Bodigrim
Copy link
Contributor Author

@andreasabel this is ready to be merged from my perspective, feel free to.

@andreasabel andreasabel merged commit 5ca296b into master Aug 29, 2025
9 of 12 checks passed
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

Successfully merging this pull request may close these issues.

5 participants