From ce523ff0876386c66fe70d3816f850f9d6b00bae Mon Sep 17 00:00:00 2001 From: Parth Shandilya Date: Tue, 29 Sep 2020 11:19:26 +0200 Subject: [PATCH] docs: autodoc_mock_imports for gssapi Adds mocking of 'gssapi' and 'paramiko[gssapi]' that cannot be installed on ReadTheDocs builders. This fixes the ReadTheDocs building problem. closes #274 --- run-tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-tests.sh b/run-tests.sh index 9b440808..6908c408 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -83,6 +83,10 @@ Darwin*) cd $COMPONENT_NAME && apt update && apt install git -y && # Needed by check-manifest + sudo ln -s /usr/bin/krb5-config.mit /usr/bin/krb5-config + sudo ln -s /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 /usr/lib/libgssapi_krb5.so + sudo apt-get install python-pip libkrb5-dev + sudo pip install gssapi pip install --force-reinstall ../reana-commons ../reana-db ../pytest-reana && pip install .[all] && # Install test dependencies eval $RUN_TESTS"