diff --git a/cibuildwheel/docker_container.py b/cibuildwheel/docker_container.py index a58eb750..7511f9e0 100644 --- a/cibuildwheel/docker_container.py +++ b/cibuildwheel/docker_container.py @@ -57,6 +57,9 @@ class DockerContainer: ], stdin=subprocess.PIPE, stdout=subprocess.PIPE, + # output the subcommand stderr to our stdout. Avoids ordering + # problems between log messages on stderr and stdout + stderr=sys.stdout, ) assert self.process.stdin and self.process.stdout