From be9e8832e120088caf0b12fef3bc20403ff0d4df Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Wed, 11 Mar 2020 18:52:16 -0700 Subject: [PATCH] Pin setuptools to python 2 Signed-off-by: Louise Poubel --- ros_buildfarm/templates/doc/doc_task.Dockerfile.em | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ros_buildfarm/templates/doc/doc_task.Dockerfile.em b/ros_buildfarm/templates/doc/doc_task.Dockerfile.em index 6fae1f2e0..d45efcc2a 100644 --- a/ros_buildfarm/templates/doc/doc_task.Dockerfile.em +++ b/ros_buildfarm/templates/doc/doc_task.Dockerfile.em @@ -62,7 +62,8 @@ RUN echo "@today_str" @[if build_tool == 'colcon']@ RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y python3-pip @# colcon-core.package_identification.python needs at least version 30.3.0 -RUN pip3 install -U setuptools +# Pinned setuptools because 46 only supports python >= 3.5. Remove when upgrading to python3 +RUN pip3 install -U setuptools==45.0.0 @[end if]@ @(TEMPLATE(