You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix orjson dylib relocation by forcing source compilation
The issue was that orjson (a transitive dependency) was being installed
as a pre-built wheel from PyPI, which doesn't have sufficient header
padding for Homebrew's bottle relocation process.
Solution:
1. Install all dependencies normally (including wheels)
2. Force-reinstall orjson from source with LDFLAGS set
3. Use --no-deps to avoid reinstalling dependencies
This ensures orjson is compiled with -Wl,-headerpad_max_install_names
which provides the necessary header space for brew test-bot to successfully
relocate the dylib during bottling.
0 commit comments