forked from easybuilders/easybuild-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix findPythonDeps for cyclic dependencies
There might be situations where the same dependency comes up multiple times which leads to a cycle in the detection. That might be due to a cyclic dependency or just some "unfortunate" structure between packages. Remove the recursive call leading to a possible error and maintain a set of packages checked already to avoid checking any multiple times. This makes sure the function terminates eventually.
- Loading branch information
Showing
1 changed file
with
27 additions
and
14 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