This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
Relax upper bound of Cabal for haddock-api >= 2.20.0 && <= 2.22.0 #1191
Closed
Description
haddock-api
was fixing bothbase' and
Cabal` package versions- It makes difficult to use it in build plans that needs a newer Cabal version compatible with an older base one
- The problem has arised when we tried to use
cabal-helper-1.1.0.0
inhaskell-ide-engine
, that uses in turnhaddock-api
for several builds plans for ghc >= 8.4.2 and <= 8.6.5cabal-helper
needs Cabal > 3.0.1.0 in windows to avoid a nasty bughaddock-api
restricts upper bound on Cabal for each base/ghc version- isue in cabal-helper: Problems to add cabal-helper-1.1.0.0 to stack and cabal build plans for windows DanielG/cabal-helper#116
- The temporary workaround had been enable
allow-newer
in stack.yaml andcabal.project
files - It seems that the usage of
Cabal
inhaddock-api
is not extensible and in factallow-newer
does not throw any compile error, so maybe no code patch is needed - So publish hackage revisions for those haddock-api versions relaxing the upper bound up to
3.0.1.0
could let users remove the always dangerousallow-newer
Thanks in advance!
/cc @DanielG
Metadata
Metadata
Assignees
Labels
No labels