-
-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ambiguous Resolvable bug in transitive dependency resolution (#367)
If an inexact dependency is specified, and a transitive dependency with either a pin or a tighter bound is found later, Ambiguous Resolvable can be raised. This is because the latest package is added to processed_packages and then by the time the transitive dep runs through the while resolvables loop, it's version doesn't match the one found in processed_packages and Ambiguous Resolvable is raised. This patch fixes it by 1) not raising an error if the packages don't match and 2) after all resolvables are processed, loop back through distributions and recreate the correct list of distributions from resolvable_set.packages(). Fixes: #366
- Loading branch information
Showing
2 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters