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 RPATH when installing from source for macOS #832

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

sassy-asjp
Copy link
Contributor

Description

The fix described in #826 which guesses the correct RPATH (similar to how it works on Linux) was implemented.

Verification

Tested:

  • Installing from git repo link
  • Installing from source tarball
  • Installing from a sdist hosted on our internal package repository

Documentation

None

Future work

None

@sassy-asjp sassy-asjp requested a review from a team as a code owner October 16, 2024 00:29
@sassy-asjp
Copy link
Contributor Author

I don't think there is any mechanism where the change could have possibly affected Linux opNav, so I think the CI failure was caused by some flaky test timing out.

@schaubh
Copy link
Contributor

schaubh commented Oct 16, 2024

@sassy-asjp , I agree that this looks like a time-out issue. For the life of me I can't figure out why some test runs stall at different places and then time out occasionally. This started happening when I added additional tests to be run. It isn't the same run that times out, and not always at the same place. For now I simply re-run the tests that time out. Not ideal, I agree.

Required for installing from sdist/tarball/git-link
@schaubh schaubh self-assigned this Oct 17, 2024
@schaubh schaubh added bug Something isn't working build Build system or compilation enhancement labels Oct 17, 2024
@schaubh schaubh linked an issue Oct 17, 2024 that may be closed by this pull request
@schaubh
Copy link
Contributor

schaubh commented Oct 17, 2024

I was able to test this on my macOS laptop and it worked. I added updated documentation and release notes.

Copy link
Contributor

@schaubh schaubh left a comment

Choose a reason for hiding this comment

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

good to go.

@schaubh schaubh merged commit c9e7dfb into AVSLab:develop Oct 18, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Build system or compilation enhancement
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

MacOS: Cannot pip install from source due to hard-coded RPATH
2 participants