From d75446c313a3dbe3f63fd03fa3bb33a4e94f4885 Mon Sep 17 00:00:00 2001 From: Hang Date: Mon, 29 Jul 2024 14:05:16 +0800 Subject: [PATCH] Init --- .azure-pipelines/templates/azdev_setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.azure-pipelines/templates/azdev_setup.yml b/.azure-pipelines/templates/azdev_setup.yml index b39abaf187c..10b4f102814 100644 --- a/.azure-pipelines/templates/azdev_setup.yml +++ b/.azure-pipelines/templates/azdev_setup.yml @@ -11,6 +11,10 @@ parameters: steps: - bash: | set -ev + + # Use old version setuptools in build environment, see https://github.com/pypa/setuptools/issues/4519 + echo setuptools<72 > constraints.txt + export PIP_CONSTRAINT=`pwd`/constraints.txt python -m venv env chmod +x env/bin/activate