Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pysndfile for 
openSUSE:Factory checked in at 2026-10-03 20:13:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysndfile (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysndfile.new.1631729 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysndfile"

Sat Oct  3 20:13:32 2026 rev:9 rq:1382179 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysndfile/python-pysndfile.changes        
2025-02-18 19:13:47.412253178 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pysndfile.new.1631729/python-pysndfile.changes
   2026-10-03 20:14:32.087117680 +0200
@@ -1,0 +2,34 @@
+Fri Oct  2 20:24:53 UTC 2026 - Dirk Müller <[email protected]>
+
+- typo fixes
+
+-------------------------------------------------------------------
+Fri Oct  2 01:30:25 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.5.3:
+  * Fix: Support libsndfile being installed in the Debian multiarch
+    layout when using SNDFILE_INSTALL_DIR or auto detection
+  * Extension: Use pkg-config to locate libsndfile unless
+    SNDFILE_INSTALL_DIR is defined
+  * Extension: Support free-threaded python 3.14 python interpreter
+  * Fix (build): Ensure compatibility with Cython 3.2
+  * Requires python 3.8 or above
+  * Extension: ogg/vorbis, ogg/opus, CAF/ALAC and mpeg formats are now
+    supported if the installed version of libsndfile supports them
+  * Extension: All libsndfile commands (as of version 1.2.2) are now
+    supported by PySndfile.command
+  * Extension: sndio.write now has a commands parameter to define sound
+    file information and settings using the libsndfile sf_command
+    function
+  * Extension: new function sndio.get_info_command to retrieve
+    information about a sound file
+  * Fix: Remove deprecated IF conditions in Cython code
+  * Remove tests directory from sdist because the test is not a standard
+    unittest and led to confusion
+  * Extension (build): build_ext.finalize_options now communicates the
+    sndfile library and include dirs that are used.
+  * Extension: support Path for filename arguments in sndio.
+  * Fix: Avoid crash in sndio.write when a zero-sized array is stored
+- Simplify patch fix-test-imports.patch
+
+-------------------------------------------------------------------

Old:
----
  pysndfile-1.4.4.tar.gz

New:
----
  pysndfile-1.5.3.tar.gz

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

Other differences:
------------------
++++++ python-pysndfile.spec ++++++
--- /var/tmp/diff_new_pack.yfVKID/_old  2026-10-03 20:14:32.766146111 +0200
+++ /var/tmp/diff_new_pack.yfVKID/_new  2026-10-03 20:14:32.768146195 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pysndfile
 #
-# 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
@@ -18,18 +18,18 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pysndfile
-Version:        1.4.4
+Version:        1.5.3
 Release:        0
 Summary:        Cython wrapper class for reading/writing soundfiles
 License:        LGPL-3.0-only
-Group:          Development/Languages/Python
 URL:            https://forge-2.ircam.fr/roebel/pysndfile
-Source:         
https://files.pythonhosted.org/packages/source/p/pysndfile/pysndfile-%{version}.tar.gz
+Source:         
https://forge-2.ircam.fr/roebel/pysndfile/-/archive/Version_%{version}/pysndfile-Version_%{version}.tar.gz#/pysndfile-%{version}.tar.gz
 Patch0:         fix-test-imports.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pkgconfig}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
@@ -41,15 +41,14 @@
 %python_subpackages
 
 %description
-pysndfile is a python package providing PySndfile a
-Cython wrapper class around libsndfile . PySndfile
-provides methods for reading and writing a large variety of soundfile
-formats on a variety of plattforms. PySndfile provides a rather complete
-access to the different sound file manipulation options that are
+pysndfile is a python package providing PySndfile a Cython wrapper class around
+libsndfile. PySndfile provides methods for reading and writing a large variety
+of soundfile formats on a variety of platforms. PySndfile provides a rather
+complete access to the different sound file manipulation options that are
 available in libsndfile.
 
-Due to the use of libsndfile nearly all sound file formats, (besides mp3
-and derived formats) can be read and written with PySndfile.
+Due to the use of libsndfile nearly all sound file formats can be read and
+written with PySndfile.
 
 The interface has been designed such that a rather large subset of the
 functionality of libsndfile can be used, notably the reading and writing
@@ -59,8 +58,13 @@
 command.
 
 %prep
-%setup -q -n pysndfile-%{version}
-%autopatch -p1
+%autosetup -p1 -n pysndfile-Version_%{version}
+# Only /usr/lib is checked for the library
+cat >>setup.cfg.dist <<EOF
+sndfile_libdir = %{_libdir}
+sndfile_incdir = %{_includedir}
+EOF
+mv setup.cfg.dist setup.cfg
 
 %build
 export CFLAGS="%{optflags}"

++++++ fix-test-imports.patch ++++++
--- /var/tmp/diff_new_pack.yfVKID/_old  2026-10-03 20:14:32.789147074 +0200
+++ /var/tmp/diff_new_pack.yfVKID/_new  2026-10-03 20:14:32.792147200 +0200
@@ -1,46 +1,17 @@
-Index: pysndfile-1.4.3/tests/pysndfile_test.py
+Index: pysndfile-Version_1.5.3/tests/pysndfile_test.py
 ===================================================================
---- pysndfile-1.4.3.orig/tests/pysndfile_test.py
-+++ pysndfile-1.4.3/tests/pysndfile_test.py
-@@ -3,10 +3,7 @@ import os
+--- pysndfile-Version_1.5.3.orig/tests/pysndfile_test.py
++++ pysndfile-Version_1.5.3/tests/pysndfile_test.py
+@@ -4,9 +4,8 @@ from pathlib import Path
  import sys
  import numpy as np
  
 -from pysndfile_inst_dir.pysndfile import get_sndfile_version
 -from pysndfile_inst_dir.pysndfile import *
 -import pysndfile_inst_dir.pysndfile as pysndfile
--
++import pysndfile
 +from pysndfile import *
  
  mydir = os.path.dirname(__file__)
  
-@@ -73,9 +70,9 @@ else:
-     print("no errors detected for io with different sample encodings")
- 
- # check reading part of file
--ss,_,_ =  pysndfile.sndio.read(os.path.join(mydir,'test.wav'), force_2d=True)
--ssstart,_,_ =  pysndfile.sndio.read(os.path.join(mydir,'test.wav'), end=100, 
force_2d=True)
--ssend,_,_ =  pysndfile.sndio.read(os.path.join(mydir,'test.wav'), start=100, 
force_2d=True)
-+ss,_,_ =  sndio.read(os.path.join(mydir,'test.wav'), force_2d=True)
-+ssstart,_,_ =  sndio.read(os.path.join(mydir,'test.wav'), end=100, 
force_2d=True)
-+ssend,_,_ =  sndio.read(os.path.join(mydir,'test.wav'), start=100, 
force_2d=True)
- 
- if np.any(ss != np.concatenate((ssstart, ssend), axis=0)):
-     read_error = True
-@@ -92,13 +89,13 @@ if np.any(ss != np.concatenate((wwstart,
- # check writing flac
- if "flac" in majors:
-     print('test writing flac')
--    ss, sr, enc = pysndfile.sndio.read(os.path.join(mydir,'test.wav'), 
force_2d=True)
-+    ss, sr, enc = sndio.read(os.path.join(mydir,'test.wav'), force_2d=True)
-     flac_file = PySndfile(os.path.join(mydir,'test.flac'), "w", 
construct_format("flac", "pcm16"), ss.shape[1], sr)
-     flac_file.command("SFC_SET_COMPRESSION_LEVEL", 1.)
-     flac_file.write_frames(ss)
-     flac_file.close()
- 
--    ss_flac, sr_flac, enc_flac = 
pysndfile.sndio.read(os.path.join(mydir,'test.flac'), force_2d=True)
-+    ss_flac, sr_flac, enc_flac = sndio.read(os.path.join(mydir,'test.flac'), 
force_2d=True)
-     if sr != sr_flac:
-         print('error::flac writing sample rate')
-         write_error = True
 

++++++ pysndfile-1.4.4.tar.gz -> pysndfile-1.5.3.tar.gz ++++++
++++ 4763 lines of diff (skipped)

Reply via email to