Skip to content

Commit 298c1ee

Browse files
committed
Drop Hong's pip fork and use latest pypa packaging from master
As pypa/packaging#234 has been merged.
1 parent 7c3117e commit 298c1ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile.arm32v7

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ RUN mv ./MAX-Object-Detector-Web-App-2.0/static static
3838

3939
COPY requirements.txt /workspace
4040
RUN rm -rf /usr/local/lib/python3.7/site-packages/pip
41-
RUN git clone --branch arm64 https://github.com/xuhdev/pip.git && cd pip && python setup.py install
42-
# We install TensorFlow directly from the URL here because of a bug in pip: https://github.com/pypa/packaging/pull/234
41+
# We install the latest pypa packaging because of the bug https://github.com/pypa/packaging/pull/234 .
42+
# The following line should be removed after a new pypa packaging release > 20.1 becomes available.
43+
RUN python -m pip install -U git+https://github.com/pypa/packaging.git
4344
RUN python -m pip install https://www.piwheels.org/simple/tensorflow/tensorflow-1.13.1-cp37-none-linux_armv7l.whl
4445
RUN python -m pip install -r requirements.txt
4546

0 commit comments

Comments
 (0)