-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picking specific VC runtime to use? #423
Comments
Unfortunately github actions contains only one windows image. Other possible workaround is to check if Azure Pipelines |
I think the problem is here: https://developercommunity.visualstudio.com/content/problem/852548/vcruntime140-1dll-is-missing.html Starting in 2019, the feature that requires @YannickJadoul is looking into it. |
Seems @henryiii is right! I was playing around with some (CMake) builds and
|
Apart from that, @Czaki is right, as well, btw. We don't control the Visual Studio installation or MSVC invocation in |
Vote for this. |
One other thing; GitHub and Azure use the same runners, I think this is just documentation on cibuildwheel's side - the problem with matplotlib was the upgrade from 2017 to 2019, not cibuildwheel; but it's something that would be best noted with the potential workaround. |
Interesting. I knew they were similar, but not that you could use the same images in both! OK, I'll write something up, once @QuLogic would find some time to check out the proposed solutions and confirm that they also work in matplotlib's case! |
Both GitHub and Azure are owned by Microsoft. So why double job. |
I was able to figure out how to pass that flag through to our extensions here: matplotlib/matplotlib#18322 and afaict is working to reduce the runtime requirements. |
Great! So, TODO: write a quick note, somewhere in the docs :-) I should be able to find 15 minutes somewhere this week. |
For Matplotlib 3.3.1, we started using cibuildwheel to produce wheels in GitHub Actions. Previously, they were built by Christoph Gohlke and then posted by us.
We got a report on 3.3.1 that the runtime requirements changed from
VCRUNTIME140.dll
toVCRUNTIME140_1.dll
. In the cibuildwheel docs, I see something about Python 2 for Windows, but nothing specific about VC runtimes. Note, as we do not build for Python 2, I did not install Visual C++ for Python 2.7.Is there some way we can configure which runtime gets linked?
The text was updated successfully, but these errors were encountered: