This is an automated email from the ASF dual-hosted git repository.

cdmikechen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new 58cf1d55 SUBMARINE-1364. Fix broken mlflow image building
58cf1d55 is described below

commit 58cf1d554ce1c511c0d39c5cbd972b87cbec3fbc
Author: FatalLin <[email protected]>
AuthorDate: Wed Jan 11 14:58:39 2023 +0800

    SUBMARINE-1364. Fix broken mlflow image building
    
    ### What is this PR for?
    it seems like there's an unhandled issue on greenlet since last Dec and 
cause the failure of mlflow building process.
    The sqlalchemy community suggest that we could install greenlet via pip 
first or comment out the dependency.
    I've test on my laptop and it passed if I install greenlet first.
    
    ### What type of PR is it?
    Hot Fix
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-1364
    ### How should this be tested?
    check the building log.
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Do the license files need updating?No
    * Are there breaking changes for older versions?No
    * Does this need new documentation?No
    
    Author: FatalLin <[email protected]>
    
    Signed-off-by: cdmikechen <[email protected]>
    
    Closes #1039 from FatalLin/SUBMARINE-1364 and squashes the following 
commits:
    
    462a9189 [FatalLin] remove unused env
    e5ff5830 [FatalLin] SUBMARINE-1364. fix broken mlflow image building
---
 dev-support/docker-images/mlflow/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-support/docker-images/mlflow/Dockerfile 
b/dev-support/docker-images/mlflow/Dockerfile
index cf92a373..95f953d9 100644
--- a/dev-support/docker-images/mlflow/Dockerfile
+++ b/dev-support/docker-images/mlflow/Dockerfile
@@ -17,7 +17,7 @@ FROM python:3.7.0-slim
 
 RUN apt-get update && apt-get -y install --no-install-recommends 
default-libmysqlclient-dev libpq-dev build-essential wget
 
-RUN pip install mlflow==1.15.0 sqlalchemy==1.4.11 boto3==1.17.58 pymysql==0.9.3
+RUN pip install greenlet==1.1.3 mlflow==1.15.0 sqlalchemy==1.4.11 
boto3==1.17.58 pymysql==0.9.3
 
 COPY start.sh /usr/local/bin
 
@@ -28,6 +28,7 @@ ENV AWS_ACCESS_KEY_ID submarine_minio
 ENV AWS_SECRET_ACCESS_KEY submarine_minio
 ENV BACKEND_URI 
mysql+pymysql://mlflow:password@submarine-database:3306/mlflowdb
 
+
 EXPOSE 5000
 
 CMD ./start.sh
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to