File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ RUN pip install --no-cache-dir \
48
48
https://s3.amazonaws.com/amazonei-apachemxnet/amazonei_mxnet-1.4.1-py2.py3-none-manylinux1_x86_64.whl \
49
49
mxnet-model-server==$MMS_VERSION \
50
50
keras-mxnet==2.2.4.1 \
51
+ # setuptools<45.0.0 because support for py2 stops with 45.0.0
52
+ # https://github.com/pypa/setuptools/blob/master/CHANGES.rst#v4500
53
+ "setuptools<45.0.0" \
51
54
onnx==1.4.1 \
52
55
# use sagemaker-inference version comaptible with MMS_VERSION=1.0.5
53
56
sagemaker-inference==1.1.0 \
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ COPY sagemaker_mxnet_serving_container.tar.gz /sagemaker_mxnet_serving_container
52
52
53
53
RUN ${PIP} install --no-cache-dir \
54
54
${MX_URL} \
55
+ # setuptools<45.0.0 because support for py2 stops with 45.0.0
56
+ # https://github.com/pypa/setuptools/blob/master/CHANGES.rst#v4500
57
+ "setuptools<45.0.0" \
55
58
mxnet-model-server==$MMS_VERSION \
56
59
keras-mxnet==2.2.4.1 \
57
60
numpy==1.16.5 \
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ COPY sagemaker_mxnet_serving_container.tar.gz /sagemaker_mxnet_serving_container
49
49
50
50
RUN ${PIP} install --no-cache-dir \
51
51
${MX_URL} \
52
+ # setuptools<45.0.0 because support for py2 stops with 45.0.0
53
+ # https://github.com/pypa/setuptools/blob/master/CHANGES.rst#v4500
54
+ "setuptools<45.0.0" \
52
55
mxnet-model-server==$MMS_VERSION \
53
56
keras-mxnet==2.2.4.1 \
54
57
numpy==1.16.5 \
You can’t perform that action at this time.
0 commit comments