Skip to content

Commit

Permalink
chore: be sure to have keyring installed
Browse files Browse the repository at this point in the history
we have seen that, sometimes, keyring was not available, for no obvious reason

closes #3950
  • Loading branch information
bcm-at-zama committed Sep 21, 2023
1 parent 6aaf5f0 commit dcf011d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/make_utils/generate_authenticated_pip_urls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ SECRET_EXTRA_INDEX_URL="${SECRET_EXTRA_INDEX_URL//\'/}"
# echo "pip extra-index-url: ${SECRET_EXTRA_INDEX_URL}"

if [[ "${SECRET_EXTRA_INDEX_URL}" != "" ]]; then
# Sometimes, for no obvious reason, keyring is not installed, so let's reinstall it for more
# reliance
poetry run python -m pip install keyring

CRED_JSON="$(python script/make_utils/pip_auth_util.py \
--get-credentials-for "${SECRET_EXTRA_INDEX_URL}" \
--check-netrc-first \
Expand Down

0 comments on commit dcf011d

Please sign in to comment.