Skip to content

Commit 92abde9

Browse files
authored
Update pip versions (#292)
1 parent 479ebba commit 92abde9

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ WORKDIR /ie-serving-py
2424
COPY requirements.txt /ie-serving-py/
2525
ENV WRAPT_INSTALL_EXTENSIONS=false
2626
RUN virtualenv -p python3 .venv && \
27-
. .venv/bin/activate && pip3 --no-cache-dir install -r requirements.txt
27+
. .venv/bin/activate && pip3 install --upgrade pip==20.2.1 && \
28+
pip3 --no-cache-dir install -r requirements.txt --use-feature=2020-resolver
2829

2930
COPY start_server.sh setup.py version /ie-serving-py/
3031
COPY ie_serving /ie-serving-py/ie_serving

Dockerfile_binary_openvino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ WORKDIR /ie-serving-py
5555

5656
COPY start_server.sh setup.py version requirements.txt /ie-serving-py/
5757
ENV WRAPT_INSTALL_EXTENSIONS=false
58-
RUN virtualenv -p python3 .venv && . .venv/bin/activate && pip3 install -r requirements.txt
58+
RUN virtualenv -p python3 .venv && . .venv/bin/activate && \
59+
pip3 install --upgrade pip==20.2.1 && \
60+
pip3 install -r requirements.txt --use-feature=2020-resolver
5961

6062
COPY ie_serving /ie-serving-py/ie_serving
6163

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ venv: $(ACTIVATE)
5252
$(ACTIVATE): requirements.txt requirements-dev.txt
5353
@echo "Updating virtualenv dependencies in: $(VIRTUALENV_DIR)..."
5454
@test -d $(VIRTUALENV_DIR) || $(VIRTUALENV_EXE) $(VIRTUALENV_DIR)
55-
@. $(ACTIVATE); pip$(PY_VERSION) install --upgrade pip
55+
@. $(ACTIVATE); pip$(PY_VERSION) install --upgrade pip==20.2.1
5656
@. $(ACTIVATE); pip$(PY_VERSION) install -vUqq setuptools
57-
@. $(ACTIVATE); pip$(PY_VERSION) install -qq -r requirements.txt
58-
@. $(ACTIVATE); pip$(PY_VERSION) install -qq -r requirements-dev.txt
57+
@. $(ACTIVATE); pip$(PY_VERSION) install -qq -r requirements.txt --use-feature=2020-resolver
58+
@. $(ACTIVATE); pip$(PY_VERSION) install -qq -r requirements-dev.txt --use-feature=2020-resolver
5959
@touch $(ACTIVATE)
6060

6161
install: $(ACTIVATE)

requirements-dev.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ flake8==3.5.0
22
pytest==3.7.2
33
pytest-cov==2.5.1
44
pytest-mock==1.10.0
5-
requests==2.19.1
6-
grpcio-testing==1.22.0
5+
requests==2.21.0
6+
grpcio-testing==1.24.3
77
docker==3.7.0
8-
protobuf==3.6.1
98
opencv-python==4.1.2.30

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
grpcio==1.24.3
2-
protobuf==3.10.0
2+
protobuf==3.12.0
33
tensorflow-serving-api==2.0.*
44
google-cloud-storage==1.20.0
55
boto3==1.10.2

0 commit comments

Comments
 (0)