Closed
Description
If codesigning fails on mac with an exit code, this error is ignored, apparently because SystemTools.call doesn't throw an error on exit codes.
this code appears to be meant to catch errors, but it seems to only catches things like "command not found", not nonzero exit codes (available as output.status
)
The underlying cause of the error was the fact that conda-forge-distributed sigtool
doesn't support the --preserve-metadata=entitlements,requirements
argument, causing all codesign calls to fail with:
The following argument was not expected: --preserve-metadata=entitlements,requirements
So two things:
- catch and report failures in
codesign
- (possibly?) support conda
codesign
, which means losing the--preserve-metadata
arg, or checking for its support
Originally found in #1477 (comment)
Metadata
Metadata
Assignees
Labels
No labels