From 88bac732521859614e3acfdcc52e328c0ca7168b Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Mon, 16 Oct 2023 09:02:46 +0200 Subject: [PATCH] Fix osm-im installation from setup Change-Id: Id690fbda457952ad2cebfbd904161f438a6d69f4 Signed-off-by: garciadeblas --- devops-stages/stage-archive.sh | 4 ++-- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devops-stages/stage-archive.sh b/devops-stages/stage-archive.sh index 3999e8d..84e1041 100755 --- a/devops-stages/stage-archive.sh +++ b/devops-stages/stage-archive.sh @@ -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/ diff --git a/setup.py b/setup.py index ec75988..4cd2be2 100644 --- 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.3.post1') import pyangbind print("Using dir {}/{} for python artifacts".format(os.getcwd(), self.im_dir)) path = "{}/{}".format(os.getcwd(), self.im_dir) -- 2.25.1