@@ -65,12 +65,9 @@ RUN set -x \
6565# our $PATH to refer to it first.
6666ENV PATH="/opt/warehouse/bin:${PATH}"
6767
68- # Next, we want to update pip, setuptools, and wheel inside of this virtual
69- # environment to ensure that we have the latest versions of them.
70- # TODO: We use --require-hashes in our requirements files, but not here, making
71- # the ones in the requirements files kind of a moot point. We should
72- # probably pin these too, and update them as we do anything else.
73- RUN pip --no-cache-dir --disable-pip-version-check install --upgrade pip setuptools wheel
68+ # Next, we want to update pip inside of this virtual
69+ # environment to ensure that we have the latest version.
70+ RUN pip --no-cache-dir --disable-pip-version-check install --upgrade pip
7471
7572# We copy this into the docker container prior to copying in the rest of our
7673# application so that we can skip installing requirements if the only thing
@@ -149,12 +146,9 @@ RUN set -x \
149146# our $PATH to refer to it first.
150147ENV PATH="/opt/warehouse/bin:${PATH}"
151148
152- # Next, we want to update pip, setuptools, and wheel inside of this virtual
153- # environment to ensure that we have the latest versions of them.
154- # TODO: We use --require-hashes in our requirements files, but not here, making
155- # the ones in the requirements files kind of a moot point. We should
156- # probably pin these too, and update them as we do anything else.
157- RUN pip --no-cache-dir --disable-pip-version-check install --upgrade pip setuptools wheel
149+ # Next, we want to update pip inside of this virtual
150+ # environment to ensure that we have the latest version.
151+ RUN pip --no-cache-dir --disable-pip-version-check install --upgrade pip
158152
159153# We copy this into the docker container prior to copying in the rest of our
160154# application so that we can skip installing requirements if the only thing
0 commit comments