Skip to content

Commit 768b338

Browse files
committedJul 8, 2021
Update to a compatible version of pip
Anything over v20.x is incompatible with Python 2.x, so avoid.
1 parent 8d1ab1f commit 768b338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN virtualenv -p python2.7 pre141 \
3636

3737
# setup pre venv
3838
# use older version of setuptools or things won't build
39-
RUN /rgtm/pre141/bin/pip --no-python-version-warning install -U pip \
39+
RUN /rgtm/pre141/bin/pip --no-python-version-warning install -U 'pip<21.0' \
4040
&& /rgtm/pre141/bin/pip --no-python-version-warning install -U wheel setuptools==20.1.1 \
4141
&& /rgtm/pre141/bin/pip --no-python-version-warning install nose==1.3.7 \
4242
&& /rgtm/pre141/bin/pip --no-python-version-warning install \
@@ -52,7 +52,7 @@ RUN /rgtm/pre141/bin/pip --no-python-version-warning install -U pip \
5252
&& rm -rf /root/.cache/pip
5353

5454
# setup post venv
55-
RUN /rgtm/post141/bin/pip --no-python-version-warning install -U pip \
55+
RUN /rgtm/post141/bin/pip --no-python-version-warning install -U 'pip<21.0' \
5656
&& /rgtm/post141/bin/pip --no-python-version-warning install -U wheel setuptools==44.0.0 \
5757
&& /rgtm/post141/bin/pip --no-python-version-warning install \
5858
git+https://github.com/rosin-project/rosdistro_python@rosin_bughunt_0.8.3_test#egg=rosdistro \

0 commit comments

Comments
 (0)