-
Notifications
You must be signed in to change notification settings - Fork 512
Description
I'm trying to debug an issue with an unusable GitHub actions build: builder555/PineSAM#198
pyinstaller tries to bundle winrt.cp312-win_amd64.pyd etc. but issues a warning that it can't resolve api-ms-win-core-xxx DLLs.
E.g.: failed build log.
The builder nodes seem to have api-ms-win-core-libraryloader-l1-1-0.dll and api-ms-win-core-libraryloader-l1-1-1.dll not the api-ms-win-core-libraryloader-l1-2-0.dll the pyd files are built against. They are also entirely missing api-ms-win-core-path-l1-1-0.dll. I see this from listing the C:\Windows\System32\downlevel directory e.g. in this build log.
I guess this is a caching issue on GitHub Actions, the pyd files are in the site-packages directory in C:\hostedtoolcache\windows\Python etc. I tried to have pip rebuild the packages but ran into an issue building Devices.Bluetooth.GenericAttributeProfile - #2439. Skipping just that, pyinstaller still seems to grab the other packages from the hostedtoolcache path, not wherever pip installed them.
Can anyone suggest anything to make these libraries link correctly?