From e497882f810ceec31f376bfbf46d72925acea183 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Wed, 25 Jan 2023 16:59:59 +0000
Subject: [PATCH] Device component:

- updated requirements
---
 src/device/requirements.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/device/requirements.in b/src/device/requirements.in
index 70daceaea..96faa95c5 100644
--- a/src/device/requirements.in
+++ b/src/device/requirements.in
@@ -14,3 +14,9 @@ xmltodict==0.12.0
 tabulate
 ipaddress
 macaddress
+
+# pip's dependency resolver does not take into account installed packages.
+# p4runtime does not specify the version of grpcio/protobuf it needs, so it tries to install latest one
+# adding here again grpcio==1.47.* and protobuf==3.20.* with explicit versions to prevent collisions
+grpcio==1.47.*
+protobuf==3.20.*
-- 
GitLab