@@ -65,12 +65,9 @@ RUN set -x \
65
65
# our $PATH to refer to it first.
66
66
ENV PATH="/opt/warehouse/bin:${PATH}"
67
67
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
74
71
75
72
# We copy this into the docker container prior to copying in the rest of our
76
73
# application so that we can skip installing requirements if the only thing
@@ -149,12 +146,9 @@ RUN set -x \
149
146
# our $PATH to refer to it first.
150
147
ENV PATH="/opt/warehouse/bin:${PATH}"
151
148
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
158
152
159
153
# We copy this into the docker container prior to copying in the rest of our
160
154
# application so that we can skip installing requirements if the only thing
0 commit comments