[PATCH] Python 3.8 support

Andrew Donnellan ajd at linux.ibm.com
Thu Oct 24 14:10:10 AEDT 2019


Enable Python 3.8 in our tests and list it as a supported version.

Signed-off-by: Andrew Donnellan <ajd at linux.ibm.com>
---
 README.rst              | 2 +-
 tools/docker/Dockerfile | 3 ++-
 tox.ini                 | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.rst b/README.rst
index 01da41969168..074ded9a7db2 100644
--- a/README.rst
+++ b/README.rst
@@ -41,7 +41,7 @@ of community projects.
 Requirements
 ------------
 
-- Python (2.7, 3.5 - 3.7)
+- Python (2.7, 3.5 - 3.8)
 
 - Django (1.11 - 2.2)
 
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 61678134d418..5ef11203e850 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -49,7 +49,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
 RUN pyenv latest install 2.7 && \
     pyenv latest install 3.5 && \
     pyenv latest install 3.6 && \
-    pyenv latest install 3.7
+    pyenv latest install 3.7 && \
+    pyenv latest install 3.8
 RUN pyenv global $(pyenv versions --bare | tac)
 
 RUN pip install tox tox-pyenv
diff --git a/tox.ini b/tox.ini
index 617e73cdbee6..4267f47241b6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 2.0
-envlist = pep8,docs,py27-django111,py{35,36,37}-django{111,20,21,22}
+envlist = pep8,docs,py27-django111,py{35,36,37,38}-django{111,20,21,22}
 skipsdist = True
 
 [testenv]
-- 
2.20.1



More information about the Patchwork mailing list