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

Uninstall merlin-sdk before installing pyfunc/batch dependencies #507

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

ariefrahmansyah
Copy link
Contributor

What this PR does / why we need it:

If user has a direct or indirect dependency on merlin-sdk on their pyfunc or batch job's conda.yaml, that merlin-sdk version is the one that will be used to run the pyfunc or batch job, ignoring the local merlin-sdk. By uninstalling it before installing the pyfunc or batch job dependencies, we make sure to always use the local merlin-sdk version.

Which issue(s) this PR fixes:

Fixes pyfunc/batch job running old version of merlin

Does this PR introduce a user-facing change?:

NONE

Checklist

  • Added unit test, integration, and/or e2e tests
  • Tested locally
  • Updated documentation
  • Update Swagger spec if the PR introduce API changes
  • Regenerated Golang and Python client if the PR introduce API changes

@ghost
Copy link

ghost commented Dec 14, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link
Collaborator

@krithika369 krithika369 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, @ariefrahmansyah !

@ariefrahmansyah ariefrahmansyah merged commit e8f5ebb into main Dec 14, 2023
28 checks passed
@ariefrahmansyah ariefrahmansyah deleted the uninstall-merlin-sdk-dockerfile branch December 14, 2023 07:30
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.

2 participants