Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly call pip2 rather than pip in locations where both pip2 and pip3 are installed #5747

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Conversation

jleveque
Copy link
Contributor

- Why I did it

As part of the transition from Python 2 to Python 3, we are installing both pip2 and pip3 in the slave and config-engine containers. This PR replaces calls to pip in these containers with an explicit call to pip2 to ensure the proper version of pip is executed, no matter which version of pip is aliased to pip, as we no longer rely on that alias.

Also some other pip-related cleanup

@jleveque jleveque self-assigned this Oct 29, 2020
@jleveque jleveque marked this pull request as ready for review October 30, 2020 03:40
@jleveque jleveque merged commit 6333bb7 into sonic-net:master Oct 30, 2020
@jleveque jleveque deleted the explicit_pip branch October 30, 2020 16:43
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
… and pip3 are installed (sonic-net#5747)

As part of the transition from Python 2 to Python 3, we are installing both pip2 and pip3 in the slave and config-engine containers. This PR replaces calls to `pip` in these containers with an explicit call to `pip2` to ensure the proper version of pip is executed, no matter which version of pip is aliased to `pip`, as we no longer rely on that alias.

Also some other pip-related cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants