Skip to contentSkip to conversation

support/docker: drop Python 2.x modules

PATCH New Thomas Petazzoni 3 participants 3 messages Aug 14, 2020 – Aug 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/docker: drop Python 2.x modules

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.

---
 support/docker/Dockerfile | 2 --
 1 file changed, 2 deletions(-)
support/docker/Dockerfile +0 -2
index 8c555dcf7a..a9bacca3a0 100644
@@ -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 \
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 support/docker: drop Python 2.x modules

Thomas, All,

On 2020-08-14 21:58 +0200, Thomas Petazzoni spake thusly:

Quoted 8 lines

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.

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.

Quoted 20 lines
---
 support/docker/Dockerfile | 2 --
 1 file changed, 2 deletions(-)
support/docker/Dockerfile +0 -2
index 8c555dcf7a..a9bacca3a0 100644
@@ -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 \
Signature · 1 line
2.26.2
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 support/docker: drop Python 2.x modules

In reply to Thomas Petazzoni
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> 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.

Committed to 2020.02.x and 2020.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard