Skip to content

Conversation

@chouquette
Copy link

To ensure python modules are linking with the correct libs

To ensure python modules are linking with the correct libs
@chouquette chouquette requested a review from a team as a code owner December 5, 2025 11:21
install_name = nil

yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle)$' | xargs otool -L") do |line|
yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle|so)$' | xargs otool -L") do |line|

Choose a reason for hiding this comment

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

should we consider sth.so.1.2?

Suggested change
yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle|so)$' | xargs otool -L") do |line|
yield_shellout_results("find #{project.install_dir} -type f | egrep '\.(dylib|bundle|so|so\.*)$' | xargs otool -L") do |line|

Copy link
Author

Choose a reason for hiding this comment

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

I'm not sure, in theory there should still be a .so without version, and in the specific case of python modules, they aren't versioned... But let's see what this changes first

I fear that this change will break the macOS healtcheck and that we won't be able to merge it right away

@aiuto
Copy link

aiuto commented Dec 8, 2025

What does the health check do?
Are you fixing something known broken, or trying to improve the omnibus code. We should not waste any time working on omnibus. If we need post link dependency checks lets' turn them into new ones that are runnable independently from omnibus.

@rdesgroppes
Copy link

What does the health check do?

We want to prevent incompatible ABI from being shipped. Since it'll take some more weeks until we have feature parity, we have to extend the defense mechanism existing in the the current scripts.

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.

4 participants