-
Notifications
You must be signed in to change notification settings - Fork 696
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
Dependency solver allows cycles between packages and their setup scripts. #4161
Labels
Comments
grayjay
added a commit
to grayjay/cabal
that referenced
this issue
Jan 13, 2018
…askell#4161). The solver already detected cycles involving more than one package, but it allowed dependencies between components within a package. This commit treats a dependency between a package's setup script and library as a cycle in order to allow the solver to backtrack and try to break the cycle.
grayjay
added a commit
to grayjay/cabal
that referenced
this issue
Jan 13, 2018
…askell#4161). The solver already detected cycles involving more than one package, but it allowed dependencies between components within a package. This commit treats a dependency between a package's setup script and library as a cycle in order to allow the solver to backtrack and try to break the cycle. A more thorough solution would involve tracking all dependencies between components, as in This commit also fixes the internal error in issue haskell#4980.
grayjay
added a commit
to grayjay/cabal
that referenced
this issue
Jan 13, 2018
…askell#4161). The solver already detected cycles involving more than one package, but it allowed dependencies between components within a package. This commit treats a dependency between a package's setup script and library as a cycle in order to allow the solver to backtrack and try to break the cycle. A more thorough solution would involve tracking all dependencies between components, as in haskell#4087. This commit also fixes the internal error in issue haskell#4980.
grayjay
added a commit
that referenced
this issue
Jan 21, 2018
Solver: Detect cycles between packages and their setup scripts (fixes #4161).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed this while debugging #4154.
example.cabal:
The solver should keep searching, because it might be able to avoid the cycle in some situations.
The text was updated successfully, but these errors were encountered: