Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyalsaaudio for openSUSE:Factory checked in at 2025-02-18 19:12:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyalsaaudio (Old) and /work/SRC/openSUSE:Factory/.python-pyalsaaudio.new.8181 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyalsaaudio" Tue Feb 18 19:12:46 2025 rev:6 rq:1246649 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyalsaaudio/python-pyalsaaudio.changes 2023-05-05 15:58:43.564580468 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyalsaaudio.new.8181/python-pyalsaaudio.changes 2025-02-18 19:13:46.628220359 +0100 @@ -1,0 +2,25 @@ +Tue Feb 18 09:43:18 UTC 2025 - John Paul Adrian Glaubitz <[email protected]> + +- Update to 0.11.0 + * Fixed `Mixer.getvolume()` returning outdated value + * Fixed PCM crashing with some sample formats due to buffer size + miscalculation + * Fixed `PCM.read()` ignoring overruns (regression in 0.10.0) + * Reverted to `PCM.write()` not throwing an exception on playback buffer + underrun; instead, return -EPIPE like `PCM.read()` does on overrun + * Added `PCM.avail()` and `PCM.polldescriptors_revents()` functions + * Added `nominal_bits` and `physical_bits` entries to `PCM.info()`'s + return value + * Added Python type hint file, and adjusted documentation accordingly + * Improvements to the examples, in particular isine.py +- Ignore PollDescriptorArgsTest when running testsuite +- Limit Python files matched in %files section +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions + +------------------------------------------------------------------- Old: ---- pyalsaaudio-0.10.0.tar.gz New: ---- pyalsaaudio-0.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyalsaaudio.spec ++++++ --- /var/tmp/diff_new_pack.cVUQLm/_old 2025-02-18 19:13:47.160242629 +0100 +++ /var/tmp/diff_new_pack.cVUQLm/_new 2025-02-18 19:13:47.160242629 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyalsaaudio # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,19 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-pyalsaaudio -Version: 0.10.0 +Version: 0.11.0 Release: 0 Summary: ALSA bindings for Python License: Python-2.0 URL: https://larsimmisch.github.io/pyalsaaudio/ Source: https://files.pythonhosted.org/packages/source/p/pyalsaaudio/pyalsaaudio-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: alsa-devel BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -41,17 +43,18 @@ %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%pytest_arch test.py -k 'not (testMixerAll or testMixerClose or testPCMAll or testPCMClose or testPCMDeprecated)' +%pytest_arch test.py -k 'not (testMixerAll or testMixerClose or testPCMAll or testPCMClose or testPCMDeprecated or PollDescriptorArgsTest)' %files %{python_files} %license LICENSE %doc doc/*.rst -%{python_sitearch}/* +%{python_sitearch}/alsaaudio*so +%{python_sitearch}/pyalsaaudio-%{version}.dist-info ++++++ pyalsaaudio-0.10.0.tar.gz -> pyalsaaudio-0.11.0.tar.gz ++++++ ++++ 52202 lines of diff (skipped)
