Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/5] support/docker: add python3
Date: Mon, 23 Sep 2019 22:13:15 +0200	[thread overview]
Message-ID: <20190923221315.5ca5261a@windsurf> (raw)
In-Reply-To: <20190808231015.14330-5-ricardo.martincoski@gmail.com>

Hello Ricardo,

On Thu,  8 Aug 2019 20:10:14 -0300
Ricardo Martincoski <ricardo.martincoski@gmail.com> wrote:

> The test infra will soon be converted to Python 3 only.
> So add the interpreter and also the Python 3 variant of modules nose2
> and pexpect to the docker image used to run runtime tests.
> 
> Keep the Python 2 variant of those modules to allow a gradual
> transition.
> 
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
> ---
>  support/docker/Dockerfile | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
> index 36cd3b28a4..03acde85d2 100644
> --- a/support/docker/Dockerfile
> +++ b/support/docker/Dockerfile
> @@ -39,6 +39,9 @@ RUN apt-get install -y --no-install-recommends \
>          python-flake8 \
>          python-nose2 \
>          python-pexpect \
> +        python3 \
> +        python3-nose2 \
> +        python3-pexpect \

But then, can we remove python-nose2 and python-pexpect at the same
time ?

Yann: how do we regenerate/reupload the Docker image after this commit ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-09-23 20:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 23:10 [Buildroot] [PATCH 0/5] test infra using Python 3 Ricardo Martincoski
2019-08-08 23:10 ` [Buildroot] [PATCH 1/5] support/testing: check ubi image before booting Ricardo Martincoski
2019-08-08 23:10 ` [Buildroot] [PATCH 2/5] support/testing: do not print non-utf-8 chars on cbor test Ricardo Martincoski
2019-08-08 23:10 ` [Buildroot] [PATCH 3/5] support/testing: factor out run_cmd_on_host Ricardo Martincoski
2019-08-08 23:10 ` [Buildroot] [PATCH 4/5] support/docker: add python3 Ricardo Martincoski
2019-09-23 20:13   ` Thomas Petazzoni [this message]
2019-09-24  2:31     ` Ricardo Martincoski
2019-09-26 19:04     ` Yann E. MORIN
2019-08-08 23:10 ` [Buildroot] [PATCH 5/5] support/testing: switch to Python 3 only Ricardo Martincoski
2019-10-26 10:09   ` Romain Naour
2019-08-11 20:13 ` [Buildroot] [PATCH 0/5] test infra using Python 3 Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190923221315.5ca5261a@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox