Skip to content

Relax upper bound on Cabal dependency to admit Cabal-3.8.1.0 #523

@mpilgrem

Description

@mpilgrem

My motivation is that Stack depends on the Hpack library, currently 0.35.0. I would like to move Stack to depend on Cabal-3.8.1.0 but Hpack currently specifies Cabal < 3.7.

However, if the upper bound is relaxed to Cabal < 3.9, hpack-0.35.0 builds without problem (using Stack ***) with:

resolver: lts-19.25 # GHC 9.0.2
extra-deps:
- Cabal-3.8.1.0
- Cabal-syntax-3.8.1.0
- process-1.6.15.0

*** This requires the current development version of Stack. See commercialhaskell/stack#5886.

Could the Cabal file for Hpack on Hackage be revised to relax the upper bound?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions