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

Release for GHC 9.8.1 #971

Closed
bgamari opened this issue Sep 20, 2023 · 17 comments
Closed

Release for GHC 9.8.1 #971

bgamari opened this issue Sep 20, 2023 · 17 comments

Comments

@bgamari
Copy link
Contributor

bgamari commented Sep 20, 2023

@treeowl, on reviewing GHC's submodules I noticed that the containers commit used by GHC 9.8.1 has a few substantive changes relative to the most recent release, 0.6.7. Unfortunately, this means that a Hackage revision will not be sufficient and we will instead need a proper release. Do you suppose this could happen sometime in the next week or so?

If a release is not possible then I can instead bump GHC back to 0.6.7 with a bounds bump revision (namely f61b0c9).

Apologies for noticing this so late; my earlier audit from our discussion in #955 left me thinking that the only changes were in benchmarks and tests.

@treeowl
Copy link
Contributor

treeowl commented Sep 20, 2023

Yes, we can make a release this week.

@treeowl
Copy link
Contributor

treeowl commented Sep 26, 2023

I'll be able to make the release tomorrow.

@treeowl
Copy link
Contributor

treeowl commented Sep 27, 2023

Released!

@treeowl treeowl closed this as completed Sep 27, 2023
@Bodigrim
Copy link
Contributor

@treeowl something seems wrong here: f5d0b13 says "Bump version to 0.7", but actually bumps to 0.6.8 only:

name: containers
version: 0.6.8

Hackage release seems correct however.

@treeowl
Copy link
Contributor

treeowl commented Sep 27, 2023

Yes, that commit is broken. The next one fixes it, no?

@bgamari
Copy link
Contributor Author

bgamari commented Sep 27, 2023

I should have noticed this mix-up this morning. I had assumed that the master commit was the final release; in hindsight I should have noticed that something was amiss when I noticed that there was no tag uploaded. @treeowl, if there is a next commit then I'm afraid it wasn't pushed.

Unfortunately, the GHC release pipeline which I had planned to cut today's release candidate from refers to this broken commit and will need to be scrapped. This implies that we will need to push the release candidate by at least a day. However, I fear that the situation is even worse than this as none of the boot libraries' bounds current accommodate containers-0.7. Fixing this would very likely take weeks.

@treeowl, I don't believe a major release of containers is feasible at this juncture. At this point I think we should plan to do the bare minimum to get the GHC release out the door. I believe the only thing preventing us from using 0.6.7 is the deepseq < 1.5 constraint. Would you be willing to lift this in a revision?

@Bodigrim
Copy link
Contributor

Bodigrim commented Sep 27, 2023

However, I fear that the situation is even worse than this as none of the boot libraries' bounds current accommodate containers-0.7. Fixing this would very likely take weeks.

@bgamari FWIW I think it's only Cabal / Cabal-syntax who needs a bump for containers, and Cabal-3.10.2.0 is pending a release anyway, might as well do it.

Uh, haskeline also needs a bump, but that's easy, the package is under your control.

...and hpc / libiserv, but that's not too bad, I think both are within GHC team reach?..

@Bodigrim
Copy link
Contributor

I raised haskell/cabal#9289 for Cabal, CC @Kleidukos.

@bgamari
Copy link
Contributor Author

bgamari commented Sep 27, 2023

@Bodigrim beyond the problem of boot library bounds, there is also the matter of other downstream users. Ideally we try not to bump major versions this late in the cycle since downstreams may have already started bumping their bounds to accommodate the new release.

@treeowl
Copy link
Contributor

treeowl commented Sep 27, 2023

There is a change in Data.Graph that is at least theoretically breaking. I believe that was submitted by @Bodigrim . So either we can say that we are confident that won't actually break anything and call this minor, or we can back that out till next release. I don't remember the reason for the deepseq bump off the top of my head, and I can't look right now.

@bgamari
Copy link
Contributor Author

bgamari commented Sep 27, 2023

@treeowl, the deepseq bounds bump is necessary because GHC 9.8 will ship with deepseq-1.5.

My proposal is that we simply create a containers-0.6 branch, cherry-pick 8663795 to it, and push a Hackage revision with this bump. To me, this seems like the lowest-risk approach, which is my strong preference at this late stage of the release cycle.

@Bodigrim
Copy link
Contributor

There is a change in Data.Graph that is at least theoretically breaking. I believe that was submitted by @Bodigrim . So either we can say that we are confident that won't actually break anything and call this minor, or we can back that out till next release.

I don't believe the change #953 can break anything in compile time, but I classified it as breaking back then because instance {Show,Read} (SCC vertex) is now different. E. g., golden tests comparing serialised SCC will get broken.

@treeowl
Copy link
Contributor

treeowl commented Sep 27, 2023

@bgamari , most of the release is documentation and testing improvements, so I think just backing out the SCC change from 0.7 will produce a good 0.6. I'll have to look after my rehearsal.

@treeowl treeowl reopened this Sep 27, 2023
@bgamari
Copy link
Contributor Author

bgamari commented Sep 27, 2023

Thank you.

@treeowl
Copy link
Contributor

treeowl commented Sep 28, 2023

@bgamari I backed out the potentially breaking commit on an 0.6.8 branch. I don't think any of the other changes could plausibly break anything.

@bgamari
Copy link
Contributor Author

bgamari commented Sep 28, 2023

Will you be able to cut a release from this branch?

@bgamari
Copy link
Contributor Author

bgamari commented Sep 28, 2023

Ahh , I see that you have already done so. Thanks for the fast turnaround. @treeowl .

@bgamari bgamari closed this as completed Sep 28, 2023
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

3 participants