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

fix(templates): ensure to use python3 and pip3 #3170

Merged
merged 1 commit into from Nov 1, 2022

Conversation

aarnphm
Copy link
Member

@aarnphm aarnphm commented Nov 1, 2022

Ensure our install.sh uses pip3 and python3

For distro such as amazonlinux, the docker container includes both python2 and python3.
python is often aliased with python2, hence this PR explicitly state the distinction.

Signed-off-by: Aaron Pham 29749331+aarnphm@users.noreply.github.com

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
@aarnphm aarnphm requested a review from a team as a code owner November 1, 2022 21:19
@aarnphm aarnphm requested review from jjmachan and sauyon and removed request for a team November 1, 2022 21:19
@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #3170 (83a4f5c) into main (3193102) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3170   +/-   ##
=======================================
  Coverage   21.71%   21.71%           
=======================================
  Files         101      101           
  Lines        9721     9721           
  Branches     1688     1688           
=======================================
  Hits         2111     2111           
  Misses       7562     7562           
  Partials       48       48           
Impacted Files Coverage Δ
src/bentoml/_internal/bento/build_config.py 34.07% <ø> (ø)

Copy link
Contributor

@sauyon sauyon left a comment

Choose a reason for hiding this comment

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

LGTM assuming you've checked that these names exist in all the images we support.

@aarnphm aarnphm changed the title fix: ensure to use python3 and pip3 fix(templates): ensure to use python3 and pip3 Nov 1, 2022
@aarnphm aarnphm merged commit 339fd18 into bentoml:main Nov 1, 2022
@aarnphm aarnphm deleted the fix/pip-install-script branch November 1, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants