[PATCH 2/2] docker: install Python 3.9

Daniel Axtens dja at axtens.net
Wed Jun 23 14:20:27 AEST 2021


Since commit 9a54bf4bfc54 ("Add Python 3.9 support"), Python 3.9 is tested
by tox, so currently `docker-compose run web --tox` fails due to missing
Py3.9 binaries. Fix it.

Fixes: 9a54bf4bfc54 ("Add Python 3.9 support")
Signed-off-by: Daniel Axtens <dja at axtens.net>
---
 tools/docker/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index b53c44329cd8..fe0cd59b5e27 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -48,7 +48,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
 
 RUN pyenv latest install 3.6 && \
     pyenv latest install 3.7 && \
-    pyenv latest install 3.8
+    pyenv latest install 3.8 && \
+    pyenv latest install 3.9
 RUN pyenv global $(pyenv versions --bare | tac)
 
 RUN pip install tox tox-pyenv
-- 
2.30.2



More information about the Patchwork mailing list