]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Add Python 3.9 support
authorStephen Finucane <stephen@that.guru>
Sun, 13 Dec 2020 20:06:50 +0000 (20:06 +0000)
committerStephen Finucane <stephen@that.guru>
Sun, 13 Dec 2020 20:09:29 +0000 (20:09 +0000)
This has been out since October. Time to support it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
releasenotes/notes/python-3-9-support-79fe9f9cbb1bf2b0.yaml [new file with mode: 0644]
tox.ini

diff --git a/releasenotes/notes/python-3-9-support-79fe9f9cbb1bf2b0.yaml b/releasenotes/notes/python-3-9-support-79fe9f9cbb1bf2b0.yaml
new file mode 100644 (file)
index 0000000..072b47f
--- /dev/null
@@ -0,0 +1,5 @@
+---
+features:
+  - |
+    `Python 3.9 <https://www.python.org/downloads/release/python-390/>`_ is now
+    supported.
diff --git a/tox.ini b/tox.ini
index 28f29f6dc49c8e86241e63552e5ae1dca04caef0..46d72517dcc4d0e784680616d9479cd9b1242c41 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 3.2
-envlist = pep8,docs,py{36,37,38}-django{22,30,31}
+envlist = pep8,docs,py{36,37,38,39}-django{22,30,31}
 skipsdist = true
 ignore_basepython_conflict = true
 
@@ -22,7 +22,7 @@ setenv =
     PYTHONDONTWRITEBYTECODE = 1
     PYTHONDEVMODE = 1
     py36: PYTHONWARNINGS = once,ignore::ImportWarning:backports
-    py{37,38}: PYTHONWARNINGS = once
+    py{37,38,39}: PYTHONWARNINGS = once
 passenv =
     http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
     PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST