Skip to content

Recompilation in an editable install hides all compiler output #820

@Cadair

Description

@Cadair

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions