From f66c4135fade736e1dada8350e006fe084c15d0a Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 20 Jan 2022 13:24:34 +0000 Subject: [PATCH 1/2] Refuse to start on Python 3.6. --- synapse/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/__init__.py b/synapse/__init__.py index 5ec9f941741a..b99c65933e60 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -21,8 +21,8 @@ import sys # Check that we're not running on an unsupported Python version. -if sys.version_info < (3, 6): - print("Synapse requires Python 3.6 or above.") +if sys.version_info < (3, 7): + print("Synapse requires Python 3.7 or above.") sys.exit(1) # Twisted and canonicaljson will fail to import when this file is executed to From 2b1db50d86a89cb6b2c7af81633be013df5eaaff Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 20 Jan 2022 13:28:04 +0000 Subject: [PATCH 2/2] changelog --- changelog.d/11782.removal | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/11782.removal diff --git a/changelog.d/11782.removal b/changelog.d/11782.removal new file mode 100644 index 000000000000..00045e9fc32b --- /dev/null +++ b/changelog.d/11782.removal @@ -0,0 +1 @@ +Synapse now refuses to startup on Python 3.6, which is EOL and no-longer supported.