Skip to content

depend: suppress warnings about missing api-ms-win-core-* DLLs - #6201

Merged
rokm merged 1 commit into
pyinstaller:developfrom
rokm:suppress-api-ms-win-core-warnings
Sep 11, 2021
Merged

rokm merged 1 commit into
pyinstaller:developfrom
rokm:suppress-api-ms-win-core-warnings

Conversation

@rokm

@rokm rokm commented Sep 11, 2021

Copy link
Copy Markdown
Member

Like api-ms-win-crt-* DLLs, api-ms-win-core-* DLLs typically cannot be resolved (except under Anaconda), so the warnings should be suppressed as false positives to avoid confusing users.

Like api-ms-win-crt-* DLLs, api-ms-win-core-* DLLs typically cannot
be resolved (except under Anaconda), so the warnings should be
suppressed as false positives to avoid confusing users.
@rokm rokm added the needs backport This pull request needs cherry picking onto the v4 branch. label Sep 11, 2021
@bwoodsend

Copy link
Copy Markdown
Member

Are those warnings harmless? Do they not imply that the bundle will not run if the MSVC runtime is not installed?

@rokm

rokm commented Sep 11, 2021

Copy link
Copy Markdown
Member Author

I don't think these are part of VC runtime, but rather part of the OS itself. And they are "virtual" (not directly resolvable) on Windows 10, so we never manage to collect them. Well, except on Anaconda, which brings their own "physical" copies that are resolvable, and therefore we do collect them...

@rokm
rokm merged commit edcc270 into pyinstaller:develop Sep 11, 2021
rokm added a commit that referenced this pull request Sep 11, 2021
Like api-ms-win-crt-* DLLs, api-ms-win-core-* DLLs typically cannot
be resolved (except under Anaconda), so the warnings should be
suppressed as false positives to avoid confusing users.
@rokm rokm removed the needs backport This pull request needs cherry picking onto the v4 branch. label Sep 11, 2021
@rokm
rokm deleted the suppress-api-ms-win-core-warnings branch September 11, 2021 11:30
@rokm rokm added the backported Backported to v4 branch label Sep 26, 2021
@rokm rokm mentioned this pull request Oct 10, 2021
5 of 6 tasks
@bwoodsend bwoodsend mentioned this pull request Feb 3, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backported Backported to v4 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants