From 64b4318bce1a2ba8dcc0b8f7cbaefeb029c12419 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Mon, 27 Mar 2023 23:37:16 +0200 Subject: Win: fix running tests in a virtual environment (#2216) On windows, starting with python 3.7, virtual environments use a venvlauncher startup process This does not play well when counting spawned processes or when relying on the pid of the spawned process to do some checks e.g. connection check per pid This commit detects this situation and uses the base python executable to spawn processes when required. Signed-off-by: mayeut --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 435cc989..c8cb62af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,9 +48,3 @@ test-command = [ [tool.cibuildwheel.macos] archs = ["x86_64", "arm64"] - -[tool.cibuildwheel.windows] -# psutil tests do not like running from a virtualenv with python>=3.7 -# restrict build & tests to cp36 -# cp36-abi3 wheels will need to be tested outside cibuildwheel for python>=3.7 -build = "cp36-*" -- cgit v1.2.1