Staticx cannot use pyinstaller 5.10.0
erikbosch opened this issue · comments
I detected an issue when pyinstaller was updated from 5.9.0 to 5.10.0. It is not considered to be a regression in pyinstaller. I do not know how easy it would be to refactor staticx, or if the short term solution is to just set a dependency that pyinstaller must be =< 5.9.0
Staticx uses a PyInstaller internal API that is subject to change without warning, so this is on Staticx to detect and fix.
The recent changes were introduced in pyinstaller/pyinstaller#7518.
Staticx will need to either detect the version of PyInstaller or inspect the objects returned by their APIs and use them appropriately.
I don't have bandwidth for this right now, but I'd be happy to review a PR.
Fixed in staticx v0.13.9 (#236, #237).
Thanks @andrewthetechie for the initial fix!