From 848d04ffe0bbbb1d6cc5bb4860b8642ec3324db5 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Nov 2019 16:23:43 +0000 Subject: [PATCH 1/4] Enable python 3.8 in tox --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index afe9bc909b03..757dafe72f2f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = packaging, py35, py36, py37, check_codestyle, check_isort +envlist = packaging, py35, py36, py37, py38, check_codestyle, check_isort [base] basepython = python3.7 @@ -51,7 +51,7 @@ passenv = * commands = /usr/bin/find "{toxinidir}" -name '*.pyc' -delete - # Add this so that coverage will run on subprocesses + # Add this so that coverage will run on subprocesses {envbindir}/coverage run "{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:} # As of twisted 16.4, trial tries to import the tests as a package (previously From 4fb96137a23ae58796355e9839735c00fa677ce5 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Nov 2019 16:25:01 +0000 Subject: [PATCH 2/4] we support 3.8! --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index e7b429c05dee..29e0abafd38e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -36,7 +36,7 @@ that your email address is probably `user@example.com` rather than System requirements: - POSIX-compliant system (tested on Linux & OS X) -- Python 3.5, 3.6, or 3.7 +- Python 3.5, 3.6, 3.7 or 3.8. - At least 1GB of free RAM if you want to join large public rooms like #matrix:matrix.org Synapse is written in Python but some of the libraries it uses are written in From b3d7b3f64a553a14ed528054938336e7e6910c2e Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Nov 2019 16:25:27 +0000 Subject: [PATCH 3/4] changelog --- changelog.d/6341.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/6341.misc diff --git a/changelog.d/6341.misc b/changelog.d/6341.misc new file mode 100644 index 000000000000..359b9bf1d70c --- /dev/null +++ b/changelog.d/6341.misc @@ -0,0 +1 @@ +Add continuous integration for python 3.8. \ No newline at end of file From 603030d75300bf3ffb17ff6254cba2ba098d5868 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Nov 2019 16:35:03 +0000 Subject: [PATCH 4/4] remove typo --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 757dafe72f2f..62b350ea6a94 100644 --- a/tox.ini +++ b/tox.ini @@ -51,7 +51,7 @@ passenv = * commands = /usr/bin/find "{toxinidir}" -name '*.pyc' -delete - # Add this so that coverage will run on subprocesses + # Add this so that coverage will run on subprocesses {envbindir}/coverage run "{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:} # As of twisted 16.4, trial tries to import the tests as a package (previously