win/mac build: bump pyinstaller (5.11.0->5.13.2)

- needed for bumping python version, as 3.11+ is borked without https://github.com/pyinstaller/pyinstaller/issues/7692
- plugin.py: adapt to pyinstaller 5.12+
    loader was renamed in https://github.com/pyinstaller/pyinstaller/commit/b9111db8a869dd19dd7e8b3c952abea3238d02a6
This commit is contained in:
SomberNight
2024-04-18 17:28:20 +00:00
parent 41d6f08de9
commit 85af0b8030
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class Plugins(DaemonThread):
# FIXME pyinstaller binaries are packaging each built-in plugin twice:
# once as data and once as code. To honor the "no duplicates" rule below,
# we exclude the ones packaged as *code*, here:
if loader.__class__.__qualname__ == "FrozenImporter":
if loader.__class__.__qualname__ == "PyiFrozenImporter":
continue
full_name = f'electrum.plugins.{name}'
spec = importlib.util.find_spec(full_name)