Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update speechrecognition to 3.12.0 #8097

Closed

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Dec 8, 2024

This PR updates speechrecognition from 3.10.1 to 3.12.0.

Changelog

3.12.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

New features

Groq Support

* `recognizer_instance.recognize_groq()` (ftnext in https://github.com/Uberi/speech_recognition/pull/797 & https://github.com/Uberi/speech_recognition/pull/803)
 * Use with an environment variable `GROQ_API_KEY`
* Rename to `recognizer_instance.recognize_openai()` (Deprecate `recognizer_instance.recognize_whisper_api()`) (ftnext in https://github.com/Uberi/speech_recognition/pull/801)
 * SpeechRecognition supports Whisper API served OpenAI and Groq
 * Use with an environment variable `OPENAI_API_KEY`
 * OpenAI's optional parameters partially supported (ftnext in https://github.com/Uberi/speech_recognition/pull/802, Idea from wronkiew https://github.com/Uberi/speech_recognition/pull/676)
* Decision: make the responsibility of checking environment variables each library (not SpeechRecognition) (ftnext in https://github.com/Uberi/speech_recognition/pull/804)
 * `export XXX_API_KEY=...` or `os.environ["XXX_API_KEY"] = ...`

Python 3.13 Support (experimental)

* Install aifc and audioop in Python 3.13 by ftnext in https://github.com/Uberi/speech_recognition/pull/781
* Run tests on Python 3.13 (excluding whisper-local) by ftnext in https://github.com/Uberi/speech_recognition/pull/785

Improvement

Cleanup extras

* Tidy dependencies: requests by ftnext in https://github.com/Uberi/speech_recognition/pull/780
* Extract pocketsphinx extra by ftnext in https://github.com/Uberi/speech_recognition/pull/787

Others

* Install PyAudio in unittest Action by ftnext in https://github.com/Uberi/speech_recognition/pull/774
* Adopt pytest by ftnext in https://github.com/Uberi/speech_recognition/pull/779
* Fix "SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated" by ftnext in https://github.com/Uberi/speech_recognition/pull/773

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.11.0...3.12.0

3.11.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Add `stream=` kwarg to `Recognizer.listen` by clusterfudge in https://github.com/Uberi/speech_recognition/pull/757

Improvements
* Support Python maintenance: Add 3.12, Drop 3.8 by ftnext in https://github.com/Uberi/speech_recognition/pull/770
* Remove deprecated distutils ftnext in https://github.com/Uberi/speech_recognition/pull/768 and https://github.com/Uberi/speech_recognition/pull/769
* Support `pip install SpeechRecognition[audio]`

New Contributors
* clusterfudge made their first contribution in https://github.com/Uberi/speech_recognition/pull/757

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.4...3.11.0

3.10.4

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Support M1 Mac by ftnext in https://github.com/Uberi/speech_recognition/pull/745
* Enable to pass SSL endpoint to cope with WinError 10054  by ftnext in https://github.com/Uberi/speech_recognition/pull/754
 * Thanks to Hexer-7 https://github.com/Uberi/speech_recognition/pull/751

Improvements
* Migrate from TravisCI by ftnext in https://github.com/Uberi/speech_recognition/pull/741 https://github.com/Uberi/speech_recognition/pull/742
 * Fix code according to flake8
* Run unittests on Windows in CI by ftnext in https://github.com/Uberi/speech_recognition/pull/746

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.3...3.10.4

3.10.3

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

Improvements

* Tweak installation by ftnext in https://github.com/Uberi/speech_recognition/pull/740
 * Support `pip install SpeechRecognition[whisper-local]`
 * Support `pip install SpeechRecognition[whisper-api]`
* Add tests with mock by ftnext (738, 739)

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.2...3.10.3

3.10.2

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
Bugfixes
* Updated to the latest OpenAI API changes, and fixed 720 by herrjemand in https://github.com/Uberi/speech_recognition/pull/729

New Contributors
* herrjemand made their first contribution in https://github.com/Uberi/speech_recognition/pull/729

Thanks to all contributors!

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.1...3.10.2
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #8145

@pyup-bot pyup-bot closed this Dec 29, 2024
@Harmon758 Harmon758 deleted the pyup-update-speechrecognition-3.10.1-to-3.12.0 branch December 29, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant