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

fix findPythonDeps.py script for cyclic dependencies #4633

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

Flamefire
Copy link
Contributor

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.

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.
@boegel boegel changed the title Fix findPythonDeps for cyclic dependencies fix findPythonDeps.py script for cyclic dependencies Sep 25, 2024
@boegel boegel added the bug fix label Sep 25, 2024
@boegel boegel added this to the release after 4.9.4 milestone Sep 25, 2024
@boegel boegel merged commit 03a7f3b into easybuilders:develop Sep 25, 2024
37 checks passed
@Flamefire Flamefire deleted the findpythondeps branch September 25, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants