-
Notifications
You must be signed in to change notification settings - Fork 16
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.12 #100
Support GHC 9.12 #100
Conversation
I noticed that pandoc specifies |
I'm not a Haskell programmer, so I would hope this is sufficient to make this work. I have also opened composewell/unicode-transforms#100 to upgrade that to build for GHC 9.12. This is in support of getting pandoc to build with GHC 9.12 for MacPorts.
Sorry for the delay in reviewing this PR. Can you please make the suggested change and we will merge it ASAP. There are also some CI errors in GHC 8.4/8.6, we need to either drop support of these compilers or fix the errors. We can open another issue/PR for that. |
Since Typeable issue is only a warning and the rest of the changes are only bounds change we can just revise the package on hackage and everything should work. It won't be necessary to upload the new changes. |
While we are at it, we can also update these:
|
GHC 9.12 uses base 4.21 and ghc-prim 0.13; I also When compiling with GHC 9.12.1, I got GHC-90584. I'm not a Haskell programmer, so I made the simplest changes that could work — I don't know how one would make the `deriving Typeable` conditional based on GHC version or if there would be some other way to do that.
16adc81
to
ff52ed2
Compare
Just saw this. Can do. Should base be changed to |
I ask in part because MacPorts committed a change to its |
I am neutral on it, we can ask @wismill and @Bodigrim as well. There is a risk if there is some breakage in base, though that is a very minimal risk. Hackage trustees advise to use the stricter major version constraint on base. Also, if we have to change bounds on other packages anyway (e.g. ghc-prim in this case) then there is no advantage of relaxing base. |
I have revised the package on hackage, updating the bounds, so we do not have to upload a new release. |
OK. Let me push the version updates up. |
This should be easy to workaround. Only benchmark build is failing so we can disable that on these CIs: See https://github.com/composewell/unicode-transforms/blob/master/.github/workflows/packcheck.yml#L155 . In the CI stanza we can add :
same for 8.4.4 CI as well. |
That should get it working, except the |
Yeah, I do not know what needs to be done for s390 - I raised #101 for this. |
Ok, looks like all done, I am merging it as soon as the CIs complete unless you have something else in mind. |
We can optionally update the |
I'm fine either way, but it will be ~18h before I get a chance to update anything. |
GHC 9.12 uses base 4.21 and ghc-prim 0.13; I also
When compiling with GHC 9.12.1, I got GHC-90584. I'm not a Haskell
programmer, so I made the simplest changes that could work — I don't
know how one would make the
deriving Typeable
conditional based onGHC version or if there would be some other way to do that.