Skip to content

Commit a08e6e8

Browse files
committed
Pin mlflow==1.26.1 in credit_defaults_model to fix ImageBuildFailure
The unpinned mlflow dependency resolves to a version (>=2.18.0) that requires Python >=3.9, which conflicts with the model's Python 3.8.15 environment. This causes the deployment Docker image build to fail. Pin mlflow to 1.26.1 (the version that originally created the model) in both conda.yaml and requirements.txt.
1 parent 50f168d commit a08e6e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tutorials/get-started-notebooks/deploy/credit_defaults_model/conda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies:
44
- python=3.8.15
55
- pip<=21.2.4
66
- pip:
7-
- mlflow
7+
- mlflow==1.26.1
88
- cloudpickle==2.2.0
99
- psutil==5.8.0
1010
- scikit-learn==0.24.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mlflow
1+
mlflow==1.26.1
22
cloudpickle==2.2.0
33
psutil==5.8.0
44
scikit-learn==0.24.2

0 commit comments

Comments
 (0)