Repository navigation
Closed
Labels
re: continuous integrationCI issues
Description
From Cabal CI logs:
Run cabal install --ignore-project hackage-repo-tool
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.10.3.0 supports
'ghc' version < 9.10): /home/runner/.ghcup/bin/ghc is version 9.10.1
Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.10.3.0 supports
'ghc' version < 9.10): /home/runner/.ghcup/bin/ghc is version 9.10.1
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: hackage-repo-tool-0.1.1.4 (user goal)
[__1] trying: hackage-security-0.6.2.6 (dependency of hackage-repo-tool)
[__2] next goal: template-haskell (dependency of hackage-security)
[__2] rejecting: template-haskell-2.22.0.0/installed-0c48 (conflict:
hackage-security => template-haskell>=2.13 && <2.22)
[__2] skipping: template-haskell-2.22.0.0 (has the same characteristics that
caused the previous version to fail: excluded by constraint '>=2.13 && <2.22'
from 'hackage-security')
[__2] rejecting: template-haskell-2.21.0.0, template-haskell-2.20.0.0,
template-haskell-2.19.0.0, template-haskell-2.18.0.0,
template-haskell-2.17.0.0, template-haskell-2.16.0.0,
template-haskell-2.15.0.0, template-haskell-2.14.0.0,
template-haskell-2.13.0.0, template-haskell-2.12.0.0,
template-haskell-2.11.1.0, template-haskell-2.11.0.0,
template-haskell-2.10.0.0, template-haskell-2.9.0.0, template-haskell-2.8.0.0,
template-haskell-2.7.0.0, template-haskell-2.6.0.0, template-haskell-2.5.0.0,
template-haskell-2.4.0.1, template-haskell-2.4.0.0, template-haskell-2.3.0.1,
template-haskell-2.3.0.0, template-haskell-2.2.0.0 (constraint from
non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: hackage-security, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: template-haskell, pretty, base,
hackage-security, containers, hackage-repo-tool
Try running with --minimize-conflict-set to improve the error message.
(Surprisingly Cabal CI carries on as if nothing has happened. @Mikolaj is it something to look at?)
Metadata
Metadata
Assignees
Labels
re: continuous integrationCI issues
Activity
Mikolaj commentedon Jun 15, 2024
Huh, yes, thank you. Either the
hackage-repo-toolis not needed any more or the rest of CI is skipping tests that would require it. Either case is bad and this should stop a CI run, which would alert us to the problem.geekosaur commentedon Jun 15, 2024
There's a comment somewhere in (IIRC)
validate.shsaying that it's optional and tests that require it will be skipped.geekosaur commentedon Jun 15, 2024
It also says that
hackage-repo-toolis known to be fiddly to get installed properly.geekosaur commentedon Jun 15, 2024
Confirmed, it's deliberate: https://github.com/haskell/cabal/blob/master/.github/workflows/validate.yml#L123-L130
TL;DR: "We want to keep this in the loop but we don't want to fail if hackage-repo-tool breaks or fails to support a newer GHC version."
Mikolaj commentedon Jun 15, 2024
Oh, phew, so it's not high priority after all. Downgrading. Thank you.
mpilgrem commentedon Jun 19, 2024
I've been trying to build Stack with GHC 9.10.1. It compiles with
hackage-security-0.6.2.6(which ships with GHC 9.10.1) if that package's upper bound on dependencytemplate-haskell < 2.22is ignored (GHC 9.10.1 ships withtemplate-haskell-2.22.0.0).Mikolaj commentedon Jun 20, 2024
@mpilgrem: thank you for the report. @andreasabel: shall we relax the bound on Hackage (and in the repo)?
Mikolaj commentedon Jun 22, 2024
@geekosaur: which version bumps exactly in hackage-security do you need for cabal 3.12.1.0? Only the template-haskell bump or anything more?
geekosaur commentedon Jun 22, 2024
I've been advised that, since we don't actually care about bootstraps for branches other than
master, I should move on without it. That said, I bodged a--allow-newer=hackage-security:template-haskellinto the command that generates the initial build plan and it succeeded for 9.10.1, so that should be it.Bodigrim commentedon Jun 23, 2024
@Mikolaj could you pleae go ahead and make a revision? Current situation is not the end of the world, but very annoying.
Mikolaj commentedon Jun 24, 2024
Yes, sure. I did
for
https://hackage.haskell.org/package/hackage-security-0.6.2.6
Is that it? If so, let's please not close this ticket until this is reflected in the repo (it's not, currently).
Bodigrim commentedon Jun 24, 2024
Looks good, thanks.
Mikolaj commentedon Jun 25, 2024
@andreasabel: oh, cool, thank you.