]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docker: install Python 3.9
authorDaniel Axtens <dja@axtens.net>
Wed, 23 Jun 2021 01:19:36 +0000 (11:19 +1000)
committerDaniel Axtens <dja@axtens.net>
Wed, 23 Jun 2021 03:04:40 +0000 (13:04 +1000)
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@axtens.net>
tools/docker/Dockerfile

index b53c44329cd8a3c70daeb2cf24a604dda90e7020..fe0cd59b5e2768334dc4906fe02ff6b6be7fc05d 100644 (file)
@@ -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