From: Kefu Chai Date: Sat, 23 Jan 2021 18:12:31 +0000 (+0800) Subject: test/run-cli-tests: use cram from github X-Git-Tag: v15.2.9~55^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=61e0c7f6e2efca446931be2db9cd7b42548ae40c;p=ceph.git test/run-cli-tests: use cram from github to address the failure of WARNING: Built wheel for cram is invalid: Metadata 1.2 mandates PEP 440 version, but '0.5.0ceph.2011-01-14' is not Failed to build cram Signed-off-by: Kefu Chai (cherry picked from commit c74e614813d69ef38139e5e745873dc2a31b1c59) --- diff --git a/src/test/run-cli-tests b/src/test/run-cli-tests index 1dd19748e35af..0e94751ceaaea 100755 --- a/src/test/run-cli-tests +++ b/src/test/run-cli-tests @@ -30,7 +30,8 @@ if [ ! -e "$CRAM_BIN" ]; then # patched cram to support that. See upstream ticket at # https://bitbucket.org/brodie/cram/issue/9/allow-read-only-directories-for-t # -- tv@inktank.com - virtualenv "$VENV" && $VENV/bin/pip --log "$VENV"/log.txt install "$SRCDIR/downloads/cram-0.5.0ceph.2011-01-14.tar.gz" + virtualenv --python python3 "$VENV" && $VENV/bin/pip --log "$VENV"/log.txt \ + install git+https://github.com/ceph/cram.git@0.7-error-dir#egg=cram fi SRCDIR_ABS="$(readlink -f "$SRCDIR")"