Skip to content

Commit

Permalink
Merge pull request #22 from InfuseAI/bug/sc-32485/piperider-github-ac…
Browse files Browse the repository at this point in the history
…tion-snowflake-connector

[Fix] Pin `oscrypto` to a git reference before it release new version
  • Loading branch information
kentwelcome authored Oct 30, 2023
2 parents ef31cbc + 8ceb835 commit 81e1be3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions compare-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ for datasource_type in "$(yq '.dataSources[].type' ${PIPERIDER_WORKSPACE}/.piper
;;
*)
pip install -q --no-cache-dir piperider[${datasource_type}] || echo "[PipeRider] Failed to install piperider[${datasource_type}]"; true
# Patch oscrypto manually before the next release
# Ref: https://github.com/wbond/oscrypto/issues/75
if [ "${datasource_type}" == "snowflake" ]; then
oscrypto_version=`pip list | grep oscrypto | awk '{print $2}' 2> /dev/null`
if [ "$oscrypto_version" == "1.3.0" ]; then
pip install oscrypto@git+https://github.com/wbond/oscrypto.git@d5f3437ed24257895ae1edd9e503cfb352e635a8
fi
fi
;;
esac
done
Expand Down

0 comments on commit 81e1be3

Please sign in to comment.