Skip to content

--require-archs shall check all mach-O files in the wheel #132

@mayeut

Description

@mayeut

Is your feature request related to a problem? Please describe.
delocate-wheel --require-archs arm64,x86_64 is not enforced for executables, at least, already present in the wheel being repaired. This is not intuitive and I wonder if this is a bug or a feature ?

Describe the solution you'd like
I'd like --require-archs to be enforced on all mach-O files in the wheel.

Describe alternatives you've considered
worked around by extracting the wheel & checking files "manually" with lipo -verify_arch

Additional context
scikit-build/ninja-python-distributions#88
scikit-build/ninja-python-distributions#90

Invalid wheel being generated: https://files.pythonhosted.org/packages/95/7c/ce1487f88a00e43825a73d5395adc8e200af06c08017b204efe6c3ff8992/ninja-1.10.2.2-py2.py3-none-macosx_10_9_universal2.macosx_10_9_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions