Create link as root 80/73680/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 9 Dec 2022 10:09:55 +0000 (11:09 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 9 Dec 2022 10:10:22 +0000 (11:10 +0100)
Change-Id: I10e07320f98a20a77915b91051758263d909560a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/releng/releng-jobs.yaml
tox.ini

index 4d52ad7..1f255fc 100644 (file)
     builders:
       - shell: |
           [ -f tox.ini ] || exit 0
-          [ -f /usr/bin/python ] || ln -s /usr/bin/python3 /usr/bin/python
+          [ -f /usr/bin/python ] || sudo ln -s /usr/bin/python3 /usr/bin/python
           sudo apt-get -o DPkg::Lock::Timeout=300 update && \
           sudo DEBIAN_FRONTEND=noninteractive apt-get \
             -o DPkg::Lock::Timeout=300 dist-upgrade -y
diff --git a/tox.ini b/tox.ini
index b93d95f..713d562 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ envlist = jjb,docs
 skipsdist = True
 
 [testenv]
-basepython = python3.10
+basepython = python3
 usedevelop = False
 deps =
   -chttps://opendev.org/openstack/requirements/raw/branch/stable/zed/upper-constraints.txt