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 <kchai@redhat.com>
(cherry picked from commit
c74e614813d69ef38139e5e745873dc2a31b1c59)
# 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")"