Skip to content

Commit c988a0e

Browse files
authored
Upgrade fonttools (#461)
* Upgrade fonttools * fix
1 parent d4a0e90 commit c988a0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/3.0-5/final/Dockerfile.cpu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ RUN python3 -m pip install git+https://github.com/awslabs/sagemaker-debugger.git
2424
COPY requirements.txt /requirements.txt
2525
RUN python3 -m pip install -r /requirements.txt && rm /requirements.txt
2626

27-
RUN pip install --no-cache-dir "protobuf>=3.20.0,<=3.20.3"
27+
# Patches
28+
RUN python3 -m pip install --no-cache-dir "protobuf>=3.20.0,<=3.20.3" "fonttools>=4.60.2"
29+
2830
# ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
2931

3032
RUN sed -i 's/collections\.Mapping/collections.abc.Mapping/g' /miniconda3/lib/python3.10/site-packages/sagemaker_containers/_mapping.py

0 commit comments

Comments
 (0)