-
Notifications
You must be signed in to change notification settings - Fork 59
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
delocate-merge does not merge Qt Framework binaries #228
Comments
The |
When I check to see what the main analysis function uses, |
I can confirm that using |
Just wanted to +1 this and say I also ran into this issue when attempting to create a universal2 wheel for ruff from its
I can confirm that using Ex. def fuse_trees(to_tree, from_tree, lib_exts=(".so", ".dylib", ".a")):
...
for fname in filenames:
root, ext = splitext(fname)
from_path = pjoin(from_dirpath, fname)
to_path = pjoin(to_dirpath, fname)
if not exists(to_path):
_copyfile(from_path, to_path)
elif cmp_contents(from_path, to_path):
pass
elif ext in lib_exts or _is_macho_file(from_path): # added _is_macho_file() check
# existing lib that needs fuse
lipo_fuse(from_path, to_path, to_path)
... Let me know if I can provide any other info :) |
Testing shows |
Describe the bug
While delocate-merge succeeds to merge PyQt6-Qt6 arm and x86 wheels the resulting wheel contains Qt Frameworks that are not universal2.
To Reproduce
Expected behavior
A full universal2 wheel.
Wheels used
If a wheel is involved then consider attaching the original wheel (before being delocated) or linking to the repository where the original wheel can be created.
https://files.pythonhosted.org/packages/7e/9d/517b12a42b0692c909ed348545114dae7d0b4014ef9075e18f6bf48834a1/PyQt6_Qt6-6.7.2-py3-none-macosx_11_0_arm64.whl
https://files.pythonhosted.org/packages/10/38/ba0313442c5e4327d52e6c48d2bb4b39099bf1d191bd872edfd8bb1392ef/PyQt6_Qt6-6.7.2-py3-none-macosx_10_14_x86_64.whl
Platform (please complete the following information):
Additional context
Only files with the extensions
are fused by
fuse_trees
but this Qt Framework binary has no extension at all.Patching
fuse_trees
as follows works for those Qt packages, but is not be general enough to catch other cases.The text was updated successfully, but these errors were encountered: