[U-Boot] [PATCH v2 17/17] RRC: gitlab: Use Python 3 in virtualenv
Tom Rini
trini at konsulko.com
Thu Oct 31 13:48:06 UTC 2019
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 <sjg at chromium.org>
> ---
>
> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20191031/6c0c4176/attachment.sig>
More information about the U-Boot
mailing list