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"