From ea3c3bcde7bc128978abe9af5a06693f8ece0d14 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 1 Apr 2022 10:48:43 -0400 Subject: [PATCH] Backport PR #22756: 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 2c794033a494..b651d69972d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -127,7 +127,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"