Conversation
jaraco
left a comment
There was a problem hiding this comment.
What is the issue this change is attempting to fix? Has this code ever worked?
This code worked before 360aadc, but when the fallback was introduced in 6e92cda, this stopped working. |
|
Reading through the issue reported in Numpy, the fix for #15 was incomplete (did not have the intended effect), but no one noticed because SETUPTOOLS_USE_DISTUTILS=stdlib became the default again... until earlier this week when the local copy of distutils was reintroduced by default. |
|
Yep. Another reason is that for this issue to appear you need to have an environment without Visual Studio tools activated which is something done in most CI scripts and the lack of a PATH update doesn't matter. |
|
Using the example, it seems that patch.dict works as expected: outputs |
|
Thanks |
Note that using unittest.mock doesn't fix the env in the subprocess.
For eg:
outputs