Fix osm-im installation from setup 66/13966/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 16 Oct 2023 07:02:46 +0000 (09:02 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 16 Oct 2023 07:02:46 +0000 (09:02 +0200)
Change-Id: Id690fbda457952ad2cebfbd904161f438a6d69f4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
devops-stages/stage-archive.sh
setup.py

index 3999e8d..84e1041 100755 (executable)
@@ -20,6 +20,6 @@ rm -rf pool
 rm -rf dists
 mkdir -p pool/$MDG
 # Move python3-osm-im deb package to pool/$MDG folder
-mv deb_dist/*.deb pool/$MDG/
+mv deb_dist/python3-osm-im*.deb pool/$MDG/
 # Move osm-imdocs deb package to pool/$MDG folder
-mv *.deb pool/$MDG/
+mv osm-imdocs*.deb pool/$MDG/
index ec75988..e32360b 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==6.0.1')
+        self.pipinstall('pyangbind==0.8.3.post1')
         import pyangbind
         print("Using dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir))
         path = "{}/{}".format(os.getcwd(), self.im_dir)