Skip to content

Commit

Permalink
fix isolated builds when stderr is buffered and appears after print() (
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jun 29, 2022
1 parent af83ed1 commit dcf8917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2449.bugfix.rst
@@ -0,0 +1 @@
Fix ``isolated_build`` when the build process produces stderr at exit.
1 change: 1 addition & 0 deletions src/tox/package/builder/isolated.py
Expand Up @@ -125,6 +125,7 @@ def perform_isolated_build(build_info, package_venv, dist_dir, setup_dir):
os.path.pathsep.join(str(p) for p in build_info.backend_paths),
],
returnout=True,
capture_err=False,
action=action,
cwd=setup_dir,
)
Expand Down

0 comments on commit dcf8917

Please sign in to comment.