From c74e614813d69ef38139e5e745873dc2a31b1c59 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 24 Jan 2021 02:12:31 +0800 Subject: [PATCH] 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 --- src/test/run-cli-tests | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/run-cli-tests b/src/test/run-cli-tests index 1dd19748e35..0e94751ceaa 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")" -- 2.39.5