Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mpilgrem opened this issue Sep 26, 2022 · 2 comments
Closed

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

mpilgrem opened this issue Sep 26, 2022 · 2 comments

Comments

@mpilgrem
Copy link
Collaborator

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?

@sol
Copy link
Owner

sol commented Sep 27, 2022

@mpilgrem thanks for bringing this up. Please open a PR so that we reflect that change in the repository as well. Once CI passes and we have this on main I'm happy to do a Hackage revision.

@sol
Copy link
Owner

sol commented Sep 27, 2022

Done.

@sol sol closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants