Revert "also set c_stdlib_version on windows" by h-vetinari · Pull Request #5756 · conda-forge/conda-forge-pinning-feedstock (original) (raw)
This reverts commit 47186b2.
This was added to unbreak various builds that ended up pulling both vs2019 & vs2022 (see discussion), though the underlying issue was actually in the vs setup, which got fixed in repodata.
Now that constraint is leading to different breakage for vs2022 users, who suddenly need to update their c_stdlib_version, or get a resolution error:
Getting pinned dependencies: ...working... failed
WARNING: failed to get package records, retrying. exception was: Unsatisfiable dependencies for platform win-64: {MatchSpec("vs_win-64==2019.11=he1865b1_12")}
Encountered problems while solving:
- package vs2022_win-64-19.33.31629-hc4b314a_8 has constraint vs_win-64 2022.* conflicting with vs_win-64-2019.11-he1865b1_12
Given the repodata fix is in place, I think we should revert the c_stdlib_version for windows here (it's also not consistently set between c_compiler being vs2022 and c_stdlib_version using bare 2022). We might want to wait for conda-forge/vc-feedstock#75 though.