Closed SeanDS closed 7 months ago
Any chance you can manually run the command and post the output? I don't get anything useful from looking up the 106 exit code.
I don't think so - the path it uses is a temporary CI one. I see you've made an MR that adds printing of the output though, so if that gets put up on pip soon (even as a pre-release) I can update the CI job to use that so I can share what it says.
You don't need to wait for a pre-release. You can tell pip to install from a Git branch directly:
pip install git+https://github.com/HexDecimal/delocate.git@refactor-subprocess-calls
True. I just did that and got:
raise RuntimeError(
RuntimeError: Command ['codesign', '--force', '--sign', '-', '/private/var/folders/7j/zd_md_9x0398zxt_p5dzx21r0000gt/T/tmp4fvrrrkp/wheel/finesse/cmatrix.cpython-310-darwin.so'] failed with non-zero exit code 106.
stdout:
stderr:-s is required
Is this on a conda environment with sigtool
installed?
Yes... sigtool-0.1.2. Is that bad?
Yep. I'll push an update to sigtool
.
What's the problem?
I don't actually specify sigtool
in the conda environment spec, it's getting installed as a dependency by something else (not delocate
).
https://github.com/thefloweringash/sigtool/pull/9
sigtool
provides a codesign
binary that delocate is picking up.
I see, thanks for the quick fix!
Closing as resolved by an update to sigtool.
Describe the bug I'm getting an error from
codesign
during the subprocess call inreplace_signature()
but can't see what it is:I'm running
delocate-wheel -vv
to get all verbose output, but since it's a subprocess it appears not to be emitted to stderr to let me try to diagnose the issue.To Reproduce Here's the full output from the GitLab CI job executed:
Wheels used This zip contains the wheel: artifacts.zip
Platform (please complete the following information):