[BUG] Windows + Conda - Code compilation errors due to VS code / vcvarsall.bat -> interrogate registry swap #4664
Labels
bug
Needs Simplified Reproducer
A simplified (ideally minimal) reproducer needs to be provided so that investigation may proceed
setuptools version
setuptools>=74
Python version
All tested versions; distributed with conda (3.9-3.12)
OS
Windows
Additional environment information
Issue only occurs on windows+conda; we do not see it on windows+pip
Description
With the recent upgrade of setuptools, one of our project's extension builds (specifically with conda) is now failing with the error:
If we downgrade to setuptools<74 or we use pip instead of conda, we do not have this issue.
Expected behavior
We expect the compilation to run / build / not hit a "version required is not available" error.
How to Reproduce
There are a lot of steps to reproduce this because it happens significantly later in the CI process:
https://github.com/mrmundt/pyomo/actions/runs/11109169438/job/30863888315
The basic steps, though, are:
pyomo setup.py develop
Output
The text was updated successfully, but these errors were encountered: