Safihre · GitHub

The timeout for the codesign command in PyInstaller on macOS is set to 60 seconds. While this might seem like a long time, for our fat application being build on GitHub Actions, this is quite often not long enough.
Especially when it's busy at GitHub Actions, runners can get limited resources and it will take longer to complete such system calls.

Could this be extended to something longer? Or make it configurable?

Example: https://github.com/sabnzbd/sabnzbd/runs/5408721960?check_suite_focus=true#step:9:194
Here we let PyInstaller sign using our real identity, but I also have plenty of runs where the ad-hoc signing and/or the signature-removal failed due to the timeout being reached.

Read the original on github.com ↗