Fix osm-im installation from setup to use specific pyangbind version 46/14146/1 v12.0.7
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 21 Dec 2023 14:58:28 +0000 (15:58 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 21 Dec 2023 14:58:28 +0000 (15:58 +0100)
Change-Id: Iff337844d16723da7f6d5a8df4fee7c056b48adf
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)