chore(sdk): Update mlflow version in sdk #616
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR is the first part (1 out of 3) of a series of PRs to update the version of Mlflow used by Merlin (to
1.26.1
*). These changes are:1.26.1
I also made some minor refactoring to the requirements files so that they are stored in a separate file and the reading of these files is consistent with what is done in the batch predictor and pyfunc server
setup.py
files.*I've selected
1.26.1
because it's the latest version of Mlflow available that is before Mlflow v2, that still allowspandas==2.2.0
to be installed (this is a hard requirement needed by thearize
package).Modifications
1.26.1
(and other dependencies) in the SDK as well as observation publisher's requirements file since the unit tests there import the SDK's requirements file's dependenciesUpdate unit tests to ensure that the updated(will only be needed for newer versions of Mlflow)PythonModelContext
from Mlflow is initialised with the required argumentsTests
Checklist
Release Notes