Attempt to fix build failure: "ERROR: Cannot uninstall 'distlib'".
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Helfman 2022-08-28 23:36:49 -07:00
parent 3c3695174a
commit bc01805be6
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ set -e
apk add --no-cache python3 py3-pip apk add --no-cache python3 py3-pip
# If certain dependencies of black are available in this version of Alpine, install them. # If certain dependencies of black are available in this version of Alpine, install them.
apk add --no-cache py3-typed-ast py3-regex || true apk add --no-cache py3-typed-ast py3-regex || true
python3 -m pip install --upgrade pip==21.3.1 setuptools==58.2.0 python3 -m pip install --upgrade pip==22.2.2 setuptools==65.3.0
pip3 install tox==3.24.4 pip3 install --ignore-installed tox==3.25.1
export COVERAGE_FILE=/tmp/.coverage export COVERAGE_FILE=/tmp/.coverage
tox --workdir /tmp/.tox --sitepackages tox --workdir /tmp/.tox --sitepackages