Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-debugpy for openSUSE:Factory 
checked in at 2021-09-04 22:32:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-debugpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-debugpy.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-debugpy"

Sat Sep  4 22:32:09 2021 rev:2 rq:915711 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-debugpy/python-debugpy.changes    
2021-07-26 17:38:23.210073177 +0200
+++ /work/SRC/openSUSE:Factory/.python-debugpy.new.1899/python-debugpy.changes  
2021-09-04 22:32:26.275919566 +0200
@@ -1,0 +2,6 @@
+Thu Sep  2 09:01:19 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Add correct-pthread-library-name.patch:
+  * Look for the correct pthread library. 
+
+-------------------------------------------------------------------

New:
----
  correct-pthread-library-name.patch

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

Other differences:
------------------
++++++ python-debugpy.spec ++++++
--- /var/tmp/diff_new_pack.ULkFZK/_old  2021-09-04 22:32:26.863920344 +0200
+++ /var/tmp/diff_new_pack.ULkFZK/_new  2021-09-04 22:32:26.867920350 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-debugpy
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -39,6 +39,8 @@
 Source:         
https://github.com/microsoft/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE pydevd-openSUSE-attach-autoarch.patch -- support more 
than intel: use rpmbuild compiled attach library and let gdb figure out the 
architecture automatically. [email protected]
 Patch0:         pydevd-openSUSE-attach-autoarch.patch
+# PATCH-FIX-UPSTREAM gh#microsoft/debugpy#716
+Patch1:         correct-pthread-library-name.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}

++++++ correct-pthread-library-name.patch ++++++
Index: debugpy-1.3.0/tests/debugpy/test_threads.py
===================================================================
--- debugpy-1.3.0.orig/tests/debugpy/test_threads.py
+++ debugpy-1.3.0/tests/debugpy/test_threads.py
@@ -170,7 +170,7 @@ def test_debug_this_thread(pyfile, targe
             from ctypes import CDLL, CFUNCTYPE, byref, c_void_p, c_ulong
             from ctypes.util import find_library
 
-            libpthread = CDLL(find_library("libpthread"))
+            libpthread = CDLL(find_library("pthread"))
             thread_func_p = CFUNCTYPE(c_void_p, c_void_p)
             thread_func = thread_func_p(
                 foo

Reply via email to