Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-SpeechRecognition for 
openSUSE:Factory checked in at 2026-05-20 15:24:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SpeechRecognition (Old)
 and      /work/SRC/openSUSE:Factory/.python-SpeechRecognition.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-SpeechRecognition"

Wed May 20 15:24:31 2026 rev:8 rq:1354103 version:3.16.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-SpeechRecognition/python-SpeechRecognition.changes
        2025-04-20 20:07:05.426896500 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-SpeechRecognition.new.1966/python-SpeechRecognition.changes
      2026-05-20 15:25:27.004435702 +0200
@@ -1,0 +2,58 @@
+Tue May 19 21:06:16 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.16.1:
+  * Prepare CI for Python 3.14
+  * Add isolated CI coverage for extras and guard optional-
+    dependency tests
+  * Switch to PyPI Trusted publisher
+- update to 3.16.0:
+  * feat: Add Cohere Transcribe API support
+- update to 3.15.2:
+  * chore: Secure GitHub Actions specifier
+  * ci: Try actions/stale only for needinfo issues in
+  * docs: Extract CONTRIBUTING in
+  * docs: About AI-generated contributions in
+- update to 3.15.1:
+  * fix: remove tests from wheel
+  * docs: Add Code Wiki badge
+- update to 3.15.0:
+  * chore: Migrate the project to `pyproject.toml`
+  * chore: Make FLAC binaries executable in
+    https://github.com/Uberi/speech_recognition/pull/876
+  * fix: Exclude the models data directory from package discovery
+    in https://github.com/Uberi/speech_recognition/pull/875
+- update to 3.14.6:
+  * docs: OpenAI-compatible self-hosted endpoints are already
+    supported
+- update to 3.14.5:
+  * docs: Fix Groq API broken documentation URLs
+  * chore: Run type check on GitHub Actions
+  * fix: make `GroqOptionalParameters` fields optional
+- update to 3.14.4:
+  * Add verbose parameter to recognize_vosk()
+  * feat: Download Vosk model with `sprc download vosk`
+  * Include `soundfile` in `faster-whisper` extra
+  * docs: add additional type inference for consumers
+- update to 3.14.3:
+  * Fix vosk's URL model list broken link in error message
+  * refactor: Extract logic as `AudioData.from_file()`
+  * Add --prompt & --verbose in `python -m
+    speech_recognition.recognizers.whisper_api.openai`
+- update to 3.14.2:
+  * Support gpt-4o-transcribe and gpt-4o-mini-transcribe (in
+    `whisper_api.openai` recognizer)
+- update to 3.14.1:
+  * Support PocketSphinx >= 5
+  * Fix PocketSphinx tests failure on ubuntu-24.04
+- update to 3.14.0:
+  * Support Faster Whisper
+- update to 3.13.0:
+  * Adds Parameter `use_enhanced` and `model` to
+    GoogleCloudSpeech (Fix #734)
+  * Refine google_cloud recognizer's parameters
+  * Introduce extra: `pip install SpeechRecognition[google-
+    cloud]`
+  * Use pipx to lint simpler and faster
+  * Use pipx for lint and rstcheck
+
+-------------------------------------------------------------------

Old:
----
  3.12.0.tar.gz

New:
----
  3.16.1.tar.gz

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

Other differences:
------------------
++++++ python-SpeechRecognition.spec ++++++
--- /var/tmp/diff_new_pack.ax1IA5/_old  2026-05-20 15:25:28.164483502 +0200
+++ /var/tmp/diff_new_pack.ax1IA5/_new  2026-05-20 15:25:28.164483502 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-SpeechRecognition
 #
-# 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
@@ -16,9 +16,15 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %define justpython python
 Name:           python-SpeechRecognition
-Version:        3.12.0
+Version:        3.16.1
 Release:        0
 Summary:        Library for performing speech recognition, with support for 
several engines
 # Note: The sources include third party code with different licenses.
@@ -32,9 +38,12 @@
 BuildRequires:  %{python_module audioop-lts if %python-base >= 3.13}
 BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module google-cloud-speech}
+BuildRequires:  %{python_module httpx}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module respx}
+BuildRequires:  %{python_module setuptools >= 77}
 BuildRequires:  %{python_module standard-aifc if %python-base >= 3.13}
 BuildRequires:  %{python_module typing-extensions}
 BuildRequires:  %{python_module wheel}
@@ -52,6 +61,14 @@
 %endif
 Recommends:     python-pocketsphinx-python
 BuildArch:      noarch
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
+
 %python_subpackages
 
 %description
@@ -87,8 +104,7 @@
 
 %install
 %pyproject_install
-# Do not ship tests
-%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
+%python_clone -a %{buildroot}%{_bindir}/sprc
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 mkdir -p %{buildroot}%{_datadir}/speech_recognition
 cp -Ra speech_recognition/pocketsphinx-data 
%{buildroot}%{_datadir}/speech_recognition/
@@ -102,13 +118,24 @@
 # PocketSphinx is only built for primary Python
 %pytest $ignore -k 'not test_sphinx_'
 
+%post
+%python_install_alternative sprc
+
+%postun
+%python_uninstall_alternative sprc
+
+%pre
+%python_libalternatives_reset_alternative sprc
+
 %files %{python_files}
 %license LICENSE.txt
+%doc README.rst
+%python_alternative %{_bindir}/sprc
 %{python_sitelib}/speech_recognition
 %{python_sitelib}/speechrecognition-%{version}.dist-info
-%dir %{_datadir}/speech_recognition/
-%dir %{_datadir}/speech_recognition/pocketsphinx-data
 
 %files -n python-SpeechRecognition-common-en-US
+%dir %{_datadir}/speech_recognition/
+%dir %{_datadir}/speech_recognition/pocketsphinx-data
 %{_datadir}/speech_recognition/pocketsphinx-data/en-US
 

++++++ 3.12.0.tar.gz -> 3.16.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-SpeechRecognition/3.12.0.tar.gz 
/work/SRC/openSUSE:Factory/.python-SpeechRecognition.new.1966/3.16.1.tar.gz 
differ: char 12, line 1

++++++ fix-readme.patch ++++++
--- /var/tmp/diff_new_pack.ax1IA5/_old  2026-05-20 15:25:28.212485480 +0200
+++ /var/tmp/diff_new_pack.ax1IA5/_new  2026-05-20 15:25:28.216485645 +0200
@@ -1,67 +1,21 @@
-Index: speech_recognition-3.12.0/README.rst
+Index: speech_recognition-3.16.1/README.rst
 ===================================================================
---- speech_recognition-3.12.0.orig/README.rst
-+++ speech_recognition-3.12.0/README.rst
-@@ -283,9 +283,7 @@ To hack on this library, first make sure
+--- speech_recognition-3.16.1.orig/README.rst
++++ speech_recognition-3.16.1/README.rst
+@@ -192,7 +192,7 @@ Currently only `V1 <https://cloud.google
+ FLAC (for some systems)
+ ~~~~~~~~~~~~~~~~~~~~~~~
  
- -  Most of the library code lives in ``speech_recognition/__init__.py``.
- -  Examples live under the ``examples/`` `directory 
<https://github.com/Uberi/speech_recognition/tree/master/examples>`__, and the 
demo script lives in ``speech_recognition/__main__.py``.
---  The FLAC encoder binaries are in the ``speech_recognition/`` `directory 
<https://github.com/Uberi/speech_recognition/tree/master/speech_recognition>`__.
- -  Documentation can be found in the ``reference/`` `directory 
<https://github.com/Uberi/speech_recognition/tree/master/reference>`__.
---  Third-party libraries, utilities, and reference material are in the 
``third-party/`` `directory 
<https://github.com/Uberi/speech_recognition/tree/master/third-party>`__.
+-A `FLAC encoder <https://xiph.org/flac/>`__ is required to encode the audio 
data to send to the API. If using Windows (x86 or x86-64), OS X (Intel Macs 
only, OS X 10.6 or higher), or Linux (x86 or x86-64), this is **already bundled 
with this library - you do not need to install anything**.
++A `FLAC encoder <https://xiph.org/flac/>`__ is required to encode the audio 
data to send to the API. If using Windows (x86 or x86-64), OS X (Intel Macs 
only, OS X 10.6 or higher), or Linux (x86 or x86-64), this is **NOT** bundled 
with this library - you must install it separately.
  
- To install/reinstall the library locally, run ``python -m pip install -e 
.[dev]`` in the project `root directory 
<https://github.com/Uberi/speech_recognition>`__.
+ Otherwise, ensure that you have the ``flac`` command line tool, which is 
often available through the system package manager. For example, this would 
usually be ``sudo apt-get install flac`` on Debian-derivatives, or ``brew 
install flac`` on OS X with Homebrew.
  
-@@ -316,41 +314,6 @@ To ensure RST is well-formed:
+@@ -365,6 +365,3 @@ For convenience, all the official distri
  
- Testing is also done automatically by GitHub Actions, upon every push.
+ SpeechRecognition distributes language files from `CMU Sphinx 
<http://cmusphinx.sourceforge.net/>`__. These files are BSD-licensed and 
redistributable as long as copyright notices are correctly retained. See 
``speech_recognition/pocketsphinx-data/*/LICENSE*.txt`` for license details for 
individual parts.
  
--FLAC Executables
--~~~~~~~~~~~~~~~~
--
--The included ``flac-win32`` executable is the `official FLAC 1.3.2 32-bit 
Windows binary <http://downloads.xiph.org/releases/flac/flac-1.3.2-win.zip>`__.
--
--The included ``flac-linux-x86`` and ``flac-linux-x86_64`` executables are 
built from the `FLAC 1.3.2 source code 
<http://downloads.xiph.org/releases/flac/flac-1.3.2.tar.xz>`__ with `Manylinux 
<https://github.com/pypa/manylinux>`__ to ensure that it's compatible with a 
wide variety of distributions.
--
--The built FLAC executables should be bit-for-bit reproducible. To rebuild 
them, run the following inside the project directory on a Debian-like system:
--
--.. code:: bash
--
--    # download and extract the FLAC source code
--    cd third-party
--    sudo apt-get install --yes docker.io
--
--    # build FLAC inside the Manylinux i686 Docker image
--    tar xf flac-1.3.2.tar.xz
--    sudo docker run --tty --interactive --rm --volume "$(pwd):/root" 
quay.io/pypa/manylinux1_i686:latest bash
--        cd /root/flac-1.3.2
--        ./configure LDFLAGS=-static # compiler flags to make a static build
--        make
--    exit
--    cp flac-1.3.2/src/flac/flac ../speech_recognition/flac-linux-x86 && sudo 
rm -rf flac-1.3.2/
--
--    # build FLAC inside the Manylinux x86_64 Docker image
--    tar xf flac-1.3.2.tar.xz
--    sudo docker run --tty --interactive --rm --volume "$(pwd):/root" 
quay.io/pypa/manylinux1_x86_64:latest bash
--        cd /root/flac-1.3.2
--        ./configure LDFLAGS=-static # compiler flags to make a static build
--        make
--    exit
--    cp flac-1.3.2/src/flac/flac ../speech_recognition/flac-linux-x86_64 && 
sudo rm -r flac-1.3.2/
--
--The included ``flac-mac`` executable is extracted from `xACT 2.39 
<http://xact.scottcbrown.org/>`__, which is a frontend for FLAC 1.3.2 that 
conveniently includes binaries for all of its encoders. Specifically, it is a 
copy of ``xACT 2.39/xACT.app/Contents/Resources/flac`` in ``xACT2.39.zip``.
--
- Authors
- -------
- 
-@@ -389,9 +352,3 @@ Copyright 2014-2017 `Anthony Zhang (Uber
- SpeechRecognition is made available under the 3-clause BSD license. See 
``LICENSE.txt`` in the project's `root directory 
<https://github.com/Uberi/speech_recognition>`__ for more information.
- 
- For convenience, all the official distributions of SpeechRecognition already 
include a copy of the necessary copyright notices and licenses. In your 
project, you can simply **say that licensing information for SpeechRecognition 
can be found within the SpeechRecognition README, and make sure 
SpeechRecognition is visible to users if they wish to see it**.
--
--SpeechRecognition distributes source code, binaries, and language files from 
`CMU Sphinx <http://cmusphinx.sourceforge.net/>`__. These files are 
BSD-licensed and redistributable as long as copyright notices are correctly 
retained. See ``speech_recognition/pocketsphinx-data/*/LICENSE*.txt`` and 
``third-party/LICENSE-Sphinx.txt`` for license details for individual parts.
+-SpeechRecognition distributes binaries from `FLAC <https://xiph.org/flac/>`__ 
- ``speech_recognition/flac-win32.exe``, ``speech_recognition/flac-linux-x86``, 
and ``speech_recognition/flac-mac``. These files are GPLv2-licensed and 
redistributable, as long as the terms of the GPL are satisfied. The FLAC 
binaries are an `aggregate 
<https://www.gnu.org/licenses/gpl-faq.html#MereAggregation>`__ of `separate 
programs <https://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins>`__, so 
these GPL restrictions do not apply to the library or your programs that use 
the library, only to FLAC itself. See ``LICENSE-FLAC.txt`` for license details.
 -
--SpeechRecognition distributes source code and binaries from `PyAudio 
<http://people.csail.mit.edu/hubert/pyaudio/>`__. These files are MIT-licensed 
and redistributable as long as copyright notices are correctly retained. See 
``third-party/LICENSE-PyAudio.txt`` for license details.
 -
--SpeechRecognition distributes binaries from `FLAC <https://xiph.org/flac/>`__ 
- ``speech_recognition/flac-win32.exe``, ``speech_recognition/flac-linux-x86``, 
and ``speech_recognition/flac-mac``. These files are GPLv2-licensed and 
redistributable, as long as the terms of the GPL are satisfied. The FLAC 
binaries are an `aggregate 
<https://www.gnu.org/licenses/gpl-faq.html#MereAggregation>`__ of `separate 
programs <https://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins>`__, so 
these GPL restrictions do not apply to the library or your programs that use 
the library, only to FLAC itself. See ``LICENSE-FLAC.txt`` for license details.
 

Reply via email to