Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pycdio for openSUSE:Factory 
checked in at 2026-11-18 18:31:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycdio (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycdio.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycdio"

Wed Nov 18 18:31:10 2026 rev:7 rq:1398276 version:2.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycdio/python-pycdio.changes      
2025-06-04 20:29:27.455230623 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycdio.new.1251/python-pycdio.changes    
2026-11-18 18:32:06.925278216 +0100
@@ -1,0 +2,6 @@
+Mon Nov 16 13:39:00 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Add python-pycdio-swig-python3.patch: replace obsolete
+  PyString_FromString with PyUnicode_FromString in swig/pyiso9660.i.
+
+-------------------------------------------------------------------

New:
----
  python-pycdio-swig-python3.patch

----------(New B)----------
  New:
- Add python-pycdio-swig-python3.patch: replace obsolete
  PyString_FromString with PyUnicode_FromString in swig/pyiso9660.i.
----------(New E)----------

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

Other differences:
------------------
++++++ python-pycdio.spec ++++++
--- /var/tmp/diff_new_pack.T68uO1/_old  2026-11-18 18:32:07.758313508 +0100
+++ /var/tmp/diff_new_pack.T68uO1/_new  2026-11-18 18:32:07.761313635 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycdio
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Group:          Development/Languages/Python
 URL:            https://pypi.python.org/pypi/pycdio/
 Source:         
https://files.pythonhosted.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM python-pycdio-swig-python3.patch -- define 
PyString_FromString as PyUnicode_FromString for Python 3
+Patch0:         python-pycdio-swig-python3.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
@@ -42,7 +44,7 @@
 properties of a CD-ROM can use this library.
 
 %prep
-%setup -q -n pycdio-%{version}
+%autosetup -p1 -n pycdio-%{version}
 
 %build
 export CFLAGS="%{optflags}"

++++++ python-pycdio-swig-python3.patch ++++++
--- a/swig/pyiso9660.i  2026-11-16 15:13:44.789288275 +0100
+++ b/swig/pyiso9660.i  2026-11-16 15:13:44.805953011 +0100
@@ -109,7 +109,7 @@
            iso9660_stat_t *p_statbuf =
                (iso9660_stat_t *) _cdio_list_node_data (p_entnode);
            PyObject *o;
-           o = PyString_FromString(p_statbuf->filename);
+           o = PyUnicode_FromString(p_statbuf->filename);
            PyList_SetItem(py_list, 0, o);
            o = SWIG_From_long((long)(p_statbuf->lsn));
            PyList_SetItem(py_list, 1, o);
@@ -132,7 +132,7 @@
     if (result) {
       PyObject *o;
       resultobj = PyList_New(0);
-      o = PyString_FromString(p_statbuf->filename);
+      o = PyUnicode_FromString(p_statbuf->filename);
       PyList_Append(resultobj, o);
       o = SWIG_From_long((long)(p_statbuf->lsn));
       PyList_Append(resultobj, o);

Reply via email to