changeset 3475:3ac28e51a24f

core: removed `sat_tmp.twisted` patches + update minimum Twisted version: - `sat_tmp` patches are not needed anymore and cause trouble with latest Twisted (21.02) - update minimum to `20.3.0` which is the first one to support Python 3.8
author Goffi <goffi@goffi.org>
date Thu, 18 Mar 2021 20:46:18 +0100
parents 1f1741dc3cc4
children 11003f9f92fb
files setup.py twisted/plugins/sat_plugin.py
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sat Feb 27 18:39:25 2021 +0100
+++ b/setup.py	Thu Mar 18 20:46:18 2021 +0100
@@ -44,7 +44,7 @@
     'pyxdg',
     'sat_tmp >= 0.7.0a4',
     'shortuuid',
-    'twisted[tls] >= 19.7.0',
+    'twisted[tls] >= 20.3.0',
     'treq',
     'urwid >= 1.2.0',
     'urwid-satext >= 0.7.0a2',
--- a/twisted/plugins/sat_plugin.py	Sat Feb 27 18:39:25 2021 +0100
+++ b/twisted/plugins/sat_plugin.py	Thu Mar 18 20:46:18 2021 +0100
@@ -26,12 +26,6 @@
 from sat.core.constants import Const as C
 from sat.core.i18n import _
 
-# patch for Python 3.8 compatibility
-from sat_tmp.twisted import install as install_twisted_patches
-
-
-install_twisted_patches()
-
 
 def initialise(options):
     """Method to initialise global modules"""