From a163ec35b9c81508f508e5dcc8f8f1b19c8bb3d0 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 31 Mar 2022 22:48:17 -0400 Subject: [PATCH] Use system distutils instead of the setuptools copy --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2b88e9e63cb7..eafffb231a54 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -130,7 +130,8 @@ stages: displayName: 'Install dependencies with pip' - bash: | - python -m pip install -ve . || + # Due to https://github.com/pypa/setuptools/pull/2896 + SETUPTOOLS_USE_DISTUTILS=stdlib python -m pip install -ve . || [[ "$PYTHON_VERSION" = 'Pre' ]] displayName: "Install self"