Skip to content

Conversation

@DavidCEllis
Copy link
Owner

Deduplicate the output of get_python_installs based on symlinks. Only the first discovered path that resolves to a specific binary will be yielded.

This will drastically reduce the results of ducktools-pythonfinder on Fedora for example and it should also skip repeatedly checking against the same actual install in other cases.

Windows will still dedupe based on stdlib path instead.

@DavidCEllis DavidCEllis merged commit 84552e5 into main Oct 29, 2025
17 checks passed
@DavidCEllis DavidCEllis deleted the dedupe-linux branch November 7, 2025 19:20
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

Successfully merging this pull request may close these issues.

2 participants