fixing version for grpcio dependency 82/9682/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 4 Sep 2020 14:07:15 +0000 (14:07 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 10 Sep 2020 12:43:41 +0000 (12:43 +0000)
Change-Id: Ideb5e40eb621eedcb7a4a8a2b32224efdecbffd9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Dockerfile.local
requirements.txt
setup.py

index 03afbd1..c1eddae 100644 (file)
@@ -51,7 +51,7 @@ RUN git -C /app clone https://osm.etsi.org/gerrit/osm/common.git \
     && python3 -m pip install -e /app/common
     #  python3-pymongo python3-yaml pycrypto aiokafka
 
-RUN python3 -m pip install grpcio-tools grpclib
+RUN python3 -m pip install grpcio==1.31.0 grpcio-tools==1.31.0 grpclib==0.3.2
 
 RUN mkdir -p /app/storage/kafka && mkdir -p /app/log
 
index ce15d2d..4606699 100644 (file)
@@ -15,8 +15,8 @@
 pyyaml
 aiohttp>=2.3.10
 jinja2
-grpcio-tools
-grpclib
+grpcio-tools==1.31.0
+grpclib==0.3.2
 git+https://osm.etsi.org/gerrit/osm/common.git@v8.0#egg=osm-common
 git+https://osm.etsi.org/gerrit/osm/N2VC.git@v8.0#egg=n2vc
 
index 720e72f..353dc00 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -52,10 +52,8 @@ setup(
         'osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@v8.0#egg=osm-common',
         'n2vc @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@v8.0#egg=n2vc',
         'jinja2',
-        'grpcio-tools',
-        'grpclib',
-        # TODO this is version installed by 'apt python3-aiohttp' on Ubuntu Sserver 14.04
-        # version installed by pip 3.3.2 is not compatible. Code should be migrated to this version and use pip3
+        'grpcio-tools==1.31.0',
+        'grpclib==0.3.2',
     ],
     setup_requires=['setuptools-version-command'],
 )