Closed mgovers closed 2 months ago
Noting a workaround from https://github.com/conda-forge/admin-requests/pull/1062 for reference:
c_compiler: # [win]
- vs2022 # [win]
c_compiler_version: # [win]
- 19.40 # [win]
cxx_compiler: # [win]
- vs2022 # [win]
cxx_compiler_version: # [win]
- 19.40 # [win]
The annoying thing is that azure pipelines still has agents with both 17.10 and 17.11 in operation, and it depends on chance which one you get. I cannot yet say which one is more common, but it's generally "solvable" with a couple restarts.
The annoying thing is that azure pipelines still has agents with both 17.10 and 17.11 in operation, and it depends on chance which one you get. I cannot yet say which one is more common, but it's generally "solvable" with a couple restarts.
thanks for your input. It's indeed annoying that it works that way. IMO, there should be a way to "just" obtain the correct VC and VC build tools versions directly from the environment set by Visual Studio. That said, I still am not convinced that the way Microsoft decided to set and handle the environment can be considered good in the first place, but there's not much we can do there, unfortunately.
The annoying thing is that azure pipelines still has agents with both 17.10 and 17.11 in operation, and it depends on chance which one you get. I cannot yet say which one is more common, but it's generally "solvable" with a couple restarts.
This has been unbelievably frustrating. There is no way to pin an image version for more stability, and the Azure team does not communicate their deployment plans to developers.
I've been pleading with the Azure developers to better communicate with us, to very little effect (https://github.com/actions/runner-images/issues/10448#issuecomment-2338301212, https://github.com/actions/runner-images/pull/10490#issuecomment-2318463571)
IMO, there should be a way to "just" obtain the correct VC and VC build tools versions directly from the environment set by Visual Studio.
This sounds similar to what I was asking about in https://github.com/conda-forge/vc-feedstock/pull/82#issuecomment-2315619084. Unfortunately AFAICT there is no way to make our feedstock builds more robust to the version of Visual Studio that is installed in the Azure Windows image.
Solution to issue cannot be found in the documentation.
Issue
Like in #73 (workaround in #76), the build tools version listed in the feedstock are (again) out of date compared to the version installed in the container. NOTE: #82 most likely attempted the same thing, but maybe failed cfr. this comment
This sounds like something that can be automated. #56 did not fix it.
Installed packages
Environment info