diff mbox series

support/docker: drop Python 2.x modules

Message ID 20200814195820.987824-1-thomas.petazzoni@bootlin.com
State Accepted
Headers show
Series support/docker: drop Python 2.x modules | expand

Commit Message

Thomas Petazzoni Aug. 14, 2020, 7:58 p.m. UTC
Since commit 4a40d36f131890941c1e482eb5f28ebcd81cb7a3
("support/testing: switch to Python 3 only") our runtime testing
infrastructure is Python 3.x only.

Therefore, it is no longer needed to have python-nose2 and
python-pexpect in the Docker container used to run our Gitlab CI jobs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 support/docker/Dockerfile | 2 --
 1 file changed, 2 deletions(-)

Comments

Yann E. MORIN Aug. 14, 2020, 9:29 p.m. UTC | #1
Thomas, All,

On 2020-08-14 21:58 +0200, Thomas Petazzoni spake thusly:
> Since commit 4a40d36f131890941c1e482eb5f28ebcd81cb7a3
> ("support/testing: switch to Python 3 only") our runtime testing
> infrastructure is Python 3.x only.
> 
> Therefore, it is no longer needed to have python-nose2 and
> python-pexpect in the Docker container used to run our Gitlab CI jobs.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to master, thanks.

I've rebuilt the image, it is now slowly being routed to the docker hub
via my snail-slow DSL lane...

This offers the nice opportunity for me to get ome rest. Tomorrow, I'll
update the version we use in gitlab-CI and push that.

Regards,
Yann E. MORIN.

> ---
>  support/docker/Dockerfile | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
> index 8c555dcf7a..a9bacca3a0 100644
> --- a/support/docker/Dockerfile
> +++ b/support/docker/Dockerfile
> @@ -36,8 +36,6 @@ RUN apt-get install -y --no-install-recommends \
>          libncurses5-dev \
>          locales \
>          mercurial \
> -        python-nose2 \
> -        python-pexpect \
>          python3 \
>          python3-flake8 \
>          python3-nose2 \
> -- 
> 2.26.2
>
Peter Korsgaard Aug. 28, 2020, 4:38 p.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Since commit 4a40d36f131890941c1e482eb5f28ebcd81cb7a3
 > ("support/testing: switch to Python 3 only") our runtime testing
 > infrastructure is Python 3.x only.

 > Therefore, it is no longer needed to have python-nose2 and
 > python-pexpect in the Docker container used to run our Gitlab CI jobs.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2020.02.x and 2020.05.x, thanks.
diff mbox series

Patch

diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile
index 8c555dcf7a..a9bacca3a0 100644
--- a/support/docker/Dockerfile
+++ b/support/docker/Dockerfile
@@ -36,8 +36,6 @@  RUN apt-get install -y --no-install-recommends \
         libncurses5-dev \
         locales \
         mercurial \
-        python-nose2 \
-        python-pexpect \
         python3 \
         python3-flake8 \
         python3-nose2 \