Skip to content

Can't build with updated dependency #1125

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

Closed
AliasQli opened this issue Aug 19, 2022 · 4 comments · Fixed by #1126
Closed

Can't build with updated dependency #1125

AliasQli opened this issue Aug 19, 2022 · 4 comments · Fixed by #1126

Comments

@AliasQli
Copy link
Contributor

The dependency haddock-library updated from 1.10.0 to 1.11.0, and made an uncompatible change. The type signature of DocMarkUpH's field markupOrderedList changed from [a] -> a to [(Int, a)] -> a. The version bound for haddock-library is > 1.7 && < 2, and as a result, the repo can't build with the latest dependencies.

Should we tighten the version bound for this library?

@gbaz
Copy link
Contributor

gbaz commented Aug 19, 2022

I think it would be better to update to work with the latest haddock-library and use a bound to cut off prior versions, if possible.

@AliasQli
Copy link
Contributor Author

And there's another one: hackage-security updated to 0.6.2.2, which depends on Cabal-syntax-3.8.1.0, which is incompatible with our current dependency Cabal ^>= 3.6. Should we also move to Cabal-3.8.1.0? If so, a few changes need to be made.

@gbaz
Copy link
Contributor

gbaz commented Aug 19, 2022

Moving to the latest cabal is absolutely on the to-do list. If you're up to take that on, that would be great!

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

Successfully merging a pull request may close this issue.

3 participants