-
Notifications
You must be signed in to change notification settings - Fork 167
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
Hardcode paths to Apple's system tools #543
Hardcode paths to Apple's system tools #543
Conversation
Maybe we can use a variable for the PREFIX. APPLE_TOOLS_PREFIX + "/codesign" or something 🤷🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me.
7b718d0
Thanks @hoechenberger - this automated review dismissal is a bit inconvenient :( |
Yep, can this be disabled? We could also set up automerge for when reviews are in and CI passes. WDYT? |
Agree, that'd be nice. I think we need to ask someone with more permissions though. Let's create an issue. |
Description
We ran into this issue in the napari/packaging#11. Apparently some package in the dependency tree includes a
codesign
binary too, with a different CLI. This can get in the way of our signing process, resulting in a 109 error.This happened because we let
subprocess
pick the firstcodesign
in PATH. The fix is to hardcode the location to/usr/bin/codesign
, asconda
itself does.I also applied the same patch to
productbuild
andproductsign
, just in case.Checklist - did you ...
news
directory (using the template) for the next release's release notes?