From: Tom Rini Date: Thu, 31 Oct 2019 09:48:06 -0400 Subject: [U-Boot] [PATCH v2 17/17] RRC: gitlab: Use Python 3 in virtualenv In-Reply-To: <20191031134310.3072-17-sjg@chromium.org> References: <20191031134310.3072-1-sjg@chromium.org> <20191031134310.3072-17-sjg@chromium.org> Message-ID: <20191031134806.GI11173@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 31, 2019 at 07:43:06AM -0600, Simon Glass wrote: > This is a test to see if it removes the error here: > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/24304 > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > .gitlab-ci.yml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index 9b295ac710..acbd1207c0 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -73,7 +73,7 @@ build all 64bit ARM platforms: > tags: [ 'all' ] > stage: world build > script: > - - virtualenv /tmp/venv > + - virtualenv -p /usr/bin/python3 /tmp/venv > - . /tmp/venv/bin/activate > - pip install pyelftools > - ret=0; > @@ -158,7 +158,7 @@ Run binman, buildman, dtoc and patman testsuites: > - git config --global user.name "GitLab CI Runner"; > git config --global user.email trini at konsulko.com; > export USER=gitlab; > - virtualenv /tmp/venv; > + virtualenv -p /usr/bin/python3 /tmp/venv; > . /tmp/venv/bin/activate; > pip install pyelftools; > export UBOOT_TRAVIS_BUILD_DIR=/tmp/.bm-work/sandbox_spl; With everything converted to python3, yes, we'll want to make "python" be "python3" and can/should undo a little of what I did in the test.py series to move virtualenv to after the buildman step. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: