Skip to content

Work around CI problem from ghcup switch to GHC 9.2 - #8503

Merged
Mikolaj merged 4 commits into
haskell:masterfrom
Mikolaj:update-CI-to-GHA-on-GHC-9.4
Sep 30, 2022
Merged

Mikolaj merged 4 commits into
haskell:masterfrom
Mikolaj:update-CI-to-GHA-on-GHC-9.4

Conversation

@Mikolaj

@Mikolaj Mikolaj commented Sep 30, 2022 •

Copy link
Copy Markdown
Member

This is a workaround for #7798 based on the theory that the recent CI breakage is caused by GHA bumping GHC to 9.4 (I'm quite surprised, but OTOH 9.4 is a good release and IIRC an LTS release).

Edit: a correction: it seems to be GHC 9.2. Much less surprising.

Edit2: actually, it seems this was not GHA upgrading GHC, but ghcup changing the "recommended" version and our scripts install that version

@Mikolaj Mikolaj changed the title Bump base bump for cabal-dev-scripts to GHC 9.4 base Work around CI problem from GHA switch to GHC 9.2 Sep 30, 2022
@Mikolaj
Mikolaj force-pushed the update-CI-to-GHA-on-GHC-9.4 branch from 23b560f to 24bb731 Compare September 30, 2022 10:59
@Mikolaj Mikolaj changed the title Work around CI problem from GHA switch to GHC 9.2 Work around CI problem from ghcup switch to GHC 9.2 Sep 30, 2022
@ulysses4ever

Copy link
Copy Markdown
Collaborator

If we change "recommended" to x.y.z, then we better have some reminder to upgrade it once in a while. I don't know how to reliably implement such a reminder.

I'd much rather we leave recommended in place and deal with upgrades when ghcup bumps it.

I also don't get why this patch seemingly both rolls back GHC to 8.10 and bumps the bounds that would allow to build with 9.2?

@ulysses4ever

Copy link
Copy Markdown
Collaborator

Oh, I see a comment about doctest now. Well, we could allow-newer, open an issue against doctest, and when upstream fixes the issue remove allow-newer.

@Mikolaj

Mikolaj commented Sep 30, 2022 •

Copy link
Copy Markdown
Member Author

Yes, at least a ticket about upgrading doctest would be a good idea. I think we should investigate whether we should stick to the current doctest, change it (there are a couple of competing products), fork it, etc. I don't know which doctest we are using, but if it fails for GHC 9.2, it may not be worth sticking to. Or perhaps we somehow use it wrong or from a wrong branch. Outside the scope of this ticket, certainly.

@Mikolaj

Mikolaj commented Sep 30, 2022 •

Copy link
Copy Markdown
Member Author

I will write copy-paste the doctest ticket once this CI run passes.

@Mikolaj

Mikolaj commented Sep 30, 2022

Copy link
Copy Markdown
Member Author

I'm going to emergency-merge RSN.

@Mikolaj

Mikolaj commented Sep 30, 2022

Copy link
Copy Markdown
Member Author

Thank you very much, @ulysses4ever and @athas. Merging.

@Mikolaj

Mikolaj commented Sep 30, 2022

Copy link
Copy Markdown
Member Author

@mergify rebase

@mergify

mergify Bot commented Sep 30, 2022

Copy link
Copy Markdown
Contributor

rebase

☑️ Nothing to do

Details
  • any of:
    • #commits-behind>0 [:pushpin: rebase requirement]
    • -linear-history [:pushpin: rebase requirement]
  • -closed [:pushpin: rebase requirement]

@ulysses4ever

Copy link
Copy Markdown
Collaborator

@mergify backport

@mergify

mergify Bot commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

backport

❌ No backport have been created

Details

No destination branches found

@ulysses4ever

Copy link
Copy Markdown
Collaborator

@mergify backport 3.8

@mergify

mergify Bot commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

backport 3.8

✅ Backports have been created

Details

mergify Bot added a commit that referenced this pull request Oct 6, 2022
Work around CI problem from ghcup switch to GHC 9.2 (backport #8503)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants