Skip to content

Commit

Permalink
fixed version numpy version mismatch (#2842)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Zhavoronkov authored Feb 26, 2021
1 parent 45a0530 commit 8c397c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN curl -sL https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2 --outp
# Install requirements
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:${PATH}"
RUN python3 -m pip install --no-cache-dir -U pip==20.0.1 setuptools==49.6.0 wheel==0.35.1
RUN python3 -m pip install --no-cache-dir -U pip==21.0.1 setuptools==53.0.0 wheel==0.36.2
COPY cvat/requirements/ /tmp/requirements/
RUN DATUMARO_HEADLESS=1 python3 -m pip install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt

Expand Down
5 changes: 3 additions & 2 deletions cvat/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ django-compressor==2.4
django-rq==2.3.2
EasyProcess==0.3
Pillow==7.2.0
numpy==1.20.0
numpy==1.19.5
python-ldap==3.3.1
pytz==2020.1
pyunpack==0.2.1
Expand Down Expand Up @@ -45,4 +45,5 @@ tensorflow==2.4.1 # Optional requirement of Datumaro
patool==1.12
diskcache==5.0.2
open3d==0.11.2
datumaro==0.1.5.1 --no-binary=datumaro
# workaround for binary incompatibility with numpy when pycocotools is installed by wheel
datumaro==0.1.5.1 --no-binary=datumaro --no-binary=pycocotools

0 comments on commit 8c397c5

Please sign in to comment.