Skip to content
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
@jneira

Description

@jneira
  • haddock-api was fixing both base' 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 in haskell-ide-engine, that uses in turn haddock-api for several builds plans for ghc >= 8.4.2 and <= 8.6.5
  • The temporary workaround had been enable allow-newer in stack.yaml and cabal.project files
  • It seems that the usage of Cabal in haddock-api is not extensible and in fact allow-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 dangerous allow-newer

Thanks in advance!
/cc @DanielG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions