]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Python 3.8 support
authorAndrew Donnellan <ajd@linux.ibm.com>
Thu, 24 Oct 2019 03:12:27 +0000 (14:12 +1100)
committerDaniel Axtens <dja@axtens.net>
Thu, 24 Oct 2019 03:36:11 +0000 (14:36 +1100)
Enable Python 3.8 in our tests and list it as a supported version.

Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
README.rst
releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml [new file with mode: 0644]
tools/docker/Dockerfile
tox.ini

index 01da41969168e2a507e8c88cd5a8ca760315e15f..074ded9a7db2c638e0eb16f16c8de4ed277f018a 100644 (file)
@@ -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/releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml b/releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml
new file mode 100644 (file)
index 0000000..935cfb9
--- /dev/null
@@ -0,0 +1,5 @@
+---
+features:
+  - |
+    `Python 3.8 <https://www.python.org/downloads/release/python-380/>`_ is now
+    supported.
index 61678134d4180dbe20e85e635b39a872b4907bff..5ef11203e850ed019c0b21a4d04f3e904e68d209 100644 (file)
@@ -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 617e73cdbee615a1ad77cbf013dc2a967a824c73..4267f47241b6787cc6a39c8e82d80923eea7a69b 100644 (file)
--- 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]