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"