In general I have problems using the new codesign option (--codesign-identity) for macOS, it fails when it reaches ".dylibs" folder in any package.
The error is usually something like this:
"""
[...] replacing existing signature
[...] bundle format unrecognized, invalid, or unsuitable
In subcomponent: [...]/Contents/MacOS/sklearn/.dylibs
"""
I assume that somebody had this issue since these are pretty common packages:
'''
find ../venv/ -name ".dylibs"
../venv//lib/python3.8/site-packages/numpy/.dylibs
../venv//lib/python3.8/site-packages/PIL/.dylibs
../venv//lib/python3.8/site-packages/h5py/.dylibs
../venv//lib/python3.8/site-packages/sklearn/.dylibs
../venv//lib/python3.8/site-packages/matplotlib/.dylibs
../venv//lib/python3.8/site-packages/scipy/.dylibs
../venv//lib/python3.8/site-packages/zmq/.dylibs
"""
Is there a solution or is this a known bug (haven't found it in the issues).
Best regards,
Aljosa