Closed
Labels
build failurehappy fails to build
Description
This will fix the mtl-2.3 incompatibility issue of happy-1.20.0:
Work pushed to release-1.20, which I branched off tag 1.20.0:
- fix Build failures with mtl-2.3 #236 by adding import of
Control.Monad - bump to
1.20.1, updated maintainer andtested-with - remove outdated
ANNOUNCE,TODO,README.mdfrom package
@Ericson2314 , @int-index , @simonmar : I do not have the Hackage rights to release myself, so please
- upload a candidate
- release if you are satisfied
I tested building with GHC 7.10 - 9.6.0 locally. The code changes are minimal (import fixes in one file), so I do not expect trouble.
Reacted by Drew Hess, Martin Beták and cydparser
Metadata
Metadata
Assignees
Labels
build failurehappy fails to build
Activity
andreasabel commentedon Jan 29, 2023
@Ericson2314 : What do you think? Would you be willing and able to do this soon?
It would help the Haskell community to prepare for GHC 9.6. E.g. testing BNFC on 9.6 is currently stuck on
happy.andreasabel commentedon Feb 5, 2023
@Ericson2314 : I can also do it myself if you add me on Hackage: https://hackage.haskell.org/package/happy/maintainers/edit
int-index commentedon Feb 5, 2023
Thank you. I added you to the maintainers.
Ericson2314 commentedon Feb 6, 2023
Oh I am sorry I missed this.
andreasabel commentedon Feb 6, 2023
@Ericson2314 started work on this, so I won't interfere:
Ericson2314 commentedon Feb 6, 2023
@andreasabel I am not sure why that CI is failing but I also think it's fine if we make the release before merging it back into master.
I went to bed not having done that yet, and to make up for my tardiness I'll gladly do it myself today, but I don't want you to think me being slow => me wanting to do the release myself. You should certainly be fully empowered to not have to wait for me! (And hopefully now you have all the perms so that is indeed the case.)
andreasabel commentedon Feb 6, 2023
To test my new capabilities I uploaded a candidate: https://hackage.haskell.org/package/happy-1.20.1/candidate
andreasabel commentedon Feb 6, 2023
And published: https://hackage.haskell.org/package/happy-1.20.1 !
The candidate tested well when I downloaded and installed it, and the changelog looked good.
I pushed the tag
1.20.1to the current HEAD ofrelease-1.20.@Ericson2314 : Thanks for fixing the changelog and the .cabal file!
Ericson2314 commentedon Feb 6, 2023
@andreasabel thank you for doing the main work and keep on top of things!
andreasabel commentedon Feb 7, 2023
So I botched this job...
Here is a new candidate: https://hackage.haskell.org/package/happy-1.20.1.1/candidate
This was generated with
make sdistrather then justcabal sdist.I guess my tests were not stringent enough, since I have a
happyin my PATH on my system. Thus, bootstrapping was not tested.Ericson2314 commentedon Feb 7, 2023
@andreasabel Maybe one of us should take a crack at doing github actions on the
release-1.20branch too. I fear this won't be the last time we release a new patch release of it.andreasabel commentedon Feb 7, 2023
Let me give it a try.
Ericson2314 commentedon Feb 7, 2023
Thank you!
andreasabel commentedon Feb 7, 2023
After trying a patched Haskell-CI first, I wrote a CI manually and pushed it to the
release-1.20branch: https://github.com/haskell/happy/actions/runs/4118004445It basically does
make sdist && cabal build(and runs the tests) on a fresh system with a ubuntu-releasedhappypreinstalled.It could be improved by saving the generated tarball as artifact and then installing
happyfrom this tarball in a subsequent job on a fresh system. This way, we could verify bootstrapping.andreasabel commentedon Feb 7, 2023
I implemented this and pushed: https://github.com/haskell/happy/actions/runs/4118983519
The CI now implicitly explains how to distribute happy (if you read it carefully) and verifies it for GHC versions 8 and 9. (GHC 7 bindists aren't reliably available on recent Ubuntu.)
andreasabel commentedon Feb 7, 2023
Ok, hope this is done now,
happy-1.20.1.1is out. I pushed the tag 1.20.1.1 to the current HEAD of release-1.20.Note to myself on how to release
happy-1.20:make sdist-test;-)
Ericson2314 commentedon Feb 8, 2023
Thanks so much, @andreasabel!