From 371f82bb4da019df5581ed0c41e7d500b902ac3f Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 7 Aug 2023 16:21:50 -0400 Subject: [PATCH] avoid problems with trial and ENOSPC I don't know if these will show up in this environment ... just copy/pasted from the GitHub Actions config. --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 431b2c70a..2f580192d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -172,7 +172,13 @@ jobs: - "run": name: "Run Unit Tests" command: | - python -m tox -e py311-coverage + # On Windows, a non-blocking pipe might respond (when emulating + # Unix-y API) with ENOSPC to indicate buffer full. Trial doesn't + # handle this well, so it breaks test runs. To attempt to solve + # this, we pipe the output through passthrough.py that will + # hopefully be able to do the right thing by using Windows APIs. + python -m pip install twisted pywin32 + python -m tox -e py311-coverage | python misc/windows-enospc/passthrough.py - "run": name: "Upload Coverage"