Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Twisted for openSUSE:Factory 
checked in at 2022-01-07 12:45:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Twisted (Old)
 and      /work/SRC/openSUSE:Factory/.python-Twisted.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Twisted"

Fri Jan  7 12:45:18 2022 rev:51 rq:944143 version:21.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Twisted/python-Twisted.changes    
2021-12-12 21:27:43.724345780 +0100
+++ /work/SRC/openSUSE:Factory/.python-Twisted.new.1896/python-Twisted.changes  
2022-01-07 12:46:03.643832104 +0100
@@ -1,0 +2,6 @@
+Thu Jan  6 04:48:46 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch currentThread-deprecated.patch:
+  * Do not call a deprecated method which causes reactor startup to abort. 
+
+-------------------------------------------------------------------

New:
----
  currentThread-deprecated.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Twisted.spec ++++++
--- /var/tmp/diff_new_pack.shS367/_old  2022-01-07 12:46:04.231832512 +0100
+++ /var/tmp/diff_new_pack.shS367/_new  2022-01-07 12:46:04.235832515 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Twisted
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -39,6 +39,8 @@
 Patch5:         no-pygtkcompat.patch
 # PATCH-FIX-OPENSUSE remove-dependency-version-upper-bounds.patch boo#1190036 
-- run with h2 >= 4.0.0 and priority >= 2.0
 Patch6:         remove-dependency-version-upper-bounds.patch
+# PATCH-FIX-OPENSUSE do not throw DeprecatationWarning, upstream's fix is an 
API break
+Patch7:         currentThread-deprecated.patch
 BuildRequires:  %{python_module Automat >= 0.8.0}
 BuildRequires:  %{python_module PyHamcrest >= 1.9.0}
 BuildRequires:  %{python_module appdirs >= 1.4.0}

++++++ currentThread-deprecated.patch ++++++
Index: Twisted-21.7.0/src/twisted/python/threadable.py
===================================================================
--- Twisted-21.7.0.orig/src/twisted/python/threadable.py
+++ Twisted-21.7.0/src/twisted/python/threadable.py
@@ -104,7 +104,7 @@ _dummyID = object()
 def getThreadID():
     if threadingmodule is None:
         return _dummyID
-    return threadingmodule.currentThread().ident
+    return threadingmodule.current_thread().ident
 
 
 def isInIOThread():

Reply via email to