Skip to content

Fixes the search for Flux in setup.py to eliminate symlinks#15

Merged
vsoch merged 1 commit intoflux-framework:mainfrom
TauferLab:search_path_fix
May 22, 2025
Merged

Fixes the search for Flux in setup.py to eliminate symlinks#15
vsoch merged 1 commit intoflux-framework:mainfrom
TauferLab:search_path_fix

Conversation

@ilumsden
Copy link
Copy Markdown
Contributor

Fixes #14

This PR wraps the path to the flux executable in setup.py with os.path.realpath to eliminate symlinks. This should resolve the issue we discovered on Tuolumne due to /bin being symlinked to /usr/bin.

@grondo grondo requested a review from vsoch May 22, 2025 22:31
Copy link
Copy Markdown
Member

@vsoch vsoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me! Thanks @ilumsden.

@vsoch vsoch merged commit a5af62b into flux-framework:main May 22, 2025
5 checks passed
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.

Flux-Python fails to build on LC systems because of symlinks

2 participants