Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 8360aec

Browse files
committed
SUBMARINE-1367. Fix submarine-sdk build in Dockerfile
### What is this PR for? According to issue https://issues.apache.org/jira/browse/SUBMARINE-1365 We have fixed some of the problems in the cicd process, but the docker image still build with exceptions. ### What type of PR is it? Bug Fix ### Todos * [x] - restrict setuptools to 65.7.0 ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-1367 ### How should this be tested? NA ### Screenshots (if appropriate) NA ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No Author: cdmikechen <cdmikechen@apache.org> Signed-off-by: cdmikechen <cdmikechen@apache.org> Closes #1049 from cdmikechen/SUBMARINE-1367 and squashes the following commits: 7a2d68c [cdmikechen] restrict version to 65.7.0
1 parent 604ad54 commit 8360aec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev-support/docker-images/jupyter-gpu/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ RUN pip --no-cache-dir install pyqlib==0.8.6
111111
RUN git clone --depth=1 https://github.com/apache/submarine && \
112112
# replace numpy==1.19.2 to numpy>=1.20.0
113113
sed -i "s/numpy==1.19.2/numpy>=1.20.0/" submarine/submarine-sdk/pysubmarine/setup.py && \
114+
pip --no-cache-dir install setuptools==65.7.0 && \
114115
pip --no-cache-dir install -e submarine/submarine-sdk/pysubmarine[tf,pytorch] && \
115116
# Add DeepFM example into notebook
116117
cp submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipynb $HOME && \

dev-support/docker-images/jupyter/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ RUN pip --no-cache-dir install pyqlib==0.8.6
112112
RUN git clone --depth=1 https://github.com/apache/submarine && \
113113
# replace numpy==1.19.2 to numpy>=1.20.0
114114
sed -i "s/numpy==1.19.2/numpy>=1.20.0/" submarine/submarine-sdk/pysubmarine/setup.py && \
115+
pip --no-cache-dir install setuptools==65.7.0 && \
115116
pip --no-cache-dir install submarine/submarine-sdk/pysubmarine[tf,pytorch] && \
116117
cp submarine/submarine-sdk/pysubmarine/example/submarine_experiment_sdk.ipynb $HOME && \
117118
cp -r submarine/submarine-sdk/pysubmarine/example/{data,deepfm_example.ipynb,deepfm.json} $HOME && \

0 commit comments

Comments
 (0)