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

Updated Hackage release to support GHC 9.10. #101

Open
jonathanknowles opened this issue May 16, 2024 · 5 comments
Open

Updated Hackage release to support GHC 9.10. #101

jonathanknowles opened this issue May 16, 2024 · 5 comments

Comments

@jonathanknowles
Copy link
Contributor

jonathanknowles commented May 16, 2024

Hi there!

Please would it be possible to make an updated release on Hackage to support GHC 9.10.1 and base-4.20.0.0?

I think this should now be possible, given the merge of #100.

Many thanks!

@jonathanknowles jonathanknowles changed the title Updated Hackage release to support GHC 9.10 Updated Hackage release to support GHC 9.10. May 16, 2024
@meooow25
Copy link
Contributor

meooow25 commented Jun 7, 2024

Since deepseq is a GHC boot library, I'm surprised that the deepseq and base that come bundled with GHC 9.10 are not compatible with each other. Is this supposed to happen?

Edit: I find no problems building a project with GHC 9.10.1 and build-depends: base == 4.20.0.0, deepseq == 1.5.0.0, though clearly deepseq 1.5.0.0 has bounds base >= 4.12 && < 4.20. This is confusing... am I missing something?

@mixphix
Copy link
Collaborator

mixphix commented Jun 9, 2024

Very frequently the GHC developers pin a fork of this library for internal use, and there is sometimes a discrepancy despite the best efforts of all parties to communicate. The maintenance burden is small and issues are rare; but the work of moving it into the GHC source tree (or base itself) is nontrivial.

@meooow25
Copy link
Contributor

meooow25 commented Jun 9, 2024

Sorry, I don't understand what your comment is a response to, especially about moving deepseq into GHC. I just have two questions.

  1. Was it an accident that GHC 9.10 shipped with deepseq 1.5.0.0: base < 4.20? If so, I hope deepseq maintainers and GHC developers will resolve this in whatever manner is best.
  2. How am I able to build a project successfully with supposedly incompatible deepseq and base? If this question cannot be answered here, which is understandable, I will open a GHC issue.

@Bodigrim
Copy link
Contributor

Bodigrim commented Jun 9, 2024

  1. Yes, it was an accident.
  2. That's an expected: since GHC package.db ships with a package called deepseq-1.5.0.0 with base < 4.21, Cabal will reuse it if possible, even though there is no source code counterpart. If you force a rebuild of deepseq from sources (e. g., by pinning a different version of array), it will fail with bounds mismatch.

@meooow25
Copy link
Contributor

meooow25 commented Jun 9, 2024

Ah, so GHC 9.10's deepseq-1.5.0.0 is different from the deepseq-1.5.0.0 on Hackage, and has relaxed bounds.

Very frequently the GHC developers pin a fork of this library for internal use...

This also makes sense now. Thanks, that explains it.

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