Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Use pip for backward compatibility #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bluecloudes
Copy link

@bluecloudes bluecloudes commented Jul 8, 2020

Using pip command for backward compatibility

Currently travis job failing for zopim-allura repo, due to change from pip to pip3, this change allows backward compatibility

CC
@zendesk/fangorn

@bluecloudes bluecloudes changed the title Use pip for backward compatiablity Use pip for backward compatibility Jul 8, 2020
@@ -4,7 +4,12 @@ set -v

echo 'Installing bandit'
#pip install --user bandit
pip3 install bandit
if [ -x "$(command -v pip3)" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think pip install bandit is enough

It will be more convincing if you can test allura's bandit job with this branch

Copy link
Author

@bluecloudes bluecloudes Jul 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, but to keeping the changes of @everops-alex, to cover other cases who doesn't have pip3 it uses previous command

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants