This line:
|
subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=subprocess.DEVNULL, check=True) |
hides all build output, so if the build fails due to missing build requirements or some other reason, you don't get any indication as to why.
I would expect the compilation output to be shown at import time.
I found this while trying to do an editable install of numpy, and because the initial install of numpy used build isolation the import time recompile did not have the build requirements (cython).