Fix osm-im installation from setup to use specific pyangbind version 19/14119/1 v13.0 v13.0.2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 12 Dec 2023 08:36:39 +0000 (09:36 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 12 Dec 2023 08:36:39 +0000 (09:36 +0100)
Change-Id: I168b2c49daafbb62a37421155a73342e578fd363
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
setup.py

index ec75988..31d0496 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -30,8 +30,8 @@ class Install_osm_im(install):
         subprocess.call([sys.executable, "-m", "pip", "install", package])
 
     def run(self):
-        self.pipinstall('pyang')
-        self.pipinstall('pyangbind')
+        self.pipinstall('pyang==2.5.3')
+        self.pipinstall('pyangbind==0.8.1')
         import pyangbind
         print("Using dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
         path = "{}/{}".format(os.getcwd(), self.im_dir)