From 491b808cc56ef0a99ecc98ef7128164de31cc346 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 5 Jun 2025 15:59:09 +0000 Subject: [PATCH] macos build: fix missing keepkeylib ``` 9.76 | D | plugins.keepkey.qt.Plugin | error importing keepkeylib Traceback (most recent call last): File "electrum/plugins/keepkey/keepkey.py", line 77, in __init__ from . import client File "PyInstaller/loader/pyimod02_importers.py", line 450, in exec_module File "electrum/plugins/keepkey/client.py", line 1, in from .keepkeylib.keepkeylib.client import proto, BaseClient, ProtocolMixin ModuleNotFoundError: No module named 'electrum.plugins.keepkey.keepkeylib.keepkeylib' ``` --- contrib/osx/make_osx.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/osx/make_osx.sh b/contrib/osx/make_osx.sh index 8d682a207..5bc783865 100755 --- a/contrib/osx/make_osx.sh +++ b/contrib/osx/make_osx.sh @@ -128,6 +128,11 @@ pyinstaller --version rm -rf ./dist +info "resetting git submodules." +# note: --force is less critical in other build scripts, but as the mac build is not doing a fresh clone, +# it is very useful here for reproducibility +git submodule update --init --force + info "preparing electrum-locale." ( if ! which msgfmt > /dev/null 2>&1; then