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

Lack of dependency constraints in old versions cause build failures #73

Open
TravisCardwell opened this issue Mar 2, 2022 · 0 comments

Comments

@TravisCardwell
Copy link
Collaborator

The lack of dependency version constraints in old versions of Ginger can cause those versions to be selected for a build plan and fail.

I ran into this issue when I published queue-sheet-0.7.0.2 on Hackage. The build failed with a DependencyFailed error. The build report shows that GHC 8.10.2 was used, and it looks like ginger-0.8.2.0 was selected so that the latest versions of aeson and optparse-applicative could be used. This version of Ginger does not specify aeson version constraints, but it fails to build with the selected aeson-2.0.3.0.

Perhaps package revisions should be created for older versions of Ginger to add appropriate dependency version constraints and ensure that they are not selected with incompatible dependency versions?

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

1 participant