From 50c959bb74842249ccdb8a431821175846289b31 Mon Sep 17 00:00:00 2001 From: chunfuwen Date: Tue, 2 Aug 2022 08:10:38 -0400 Subject: [PATCH] Fix travis ci failure due to setuptool install When install avocado framework, it needs required package: setuptool But ModuleNotFoundError: No module named 'setuptools_rust' if not proper pip is used Signed-off-by: chunfuwen --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b96e140d5..85ffb48bed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,10 @@ jobs: fetch-depth: 0 - name: Install avocado libs working-directory: ./avocado-libs - run: pip install -e . + run: | + python -m pip install --upgrade pip + pip install 'setuptools-rust==1.1.2' + pip install -e . - name: Finish installing dependencies run: | pip install -e .