Skip to content

feat!: remove the extras module and the [extras] install option - #230

Merged
ccampbell-aai merged 3 commits into
masterfrom
ccampbell/remove-extras
Aug 13, 2026
Merged

feat!: remove the extras module and the [extras] install option#230
ccampbell-aai merged 3 commits into
masterfrom
ccampbell/remove-extras

Conversation

@ccampbell-aai

@ccampbell-aai ccampbell-aai commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

For the upcoming major release, the extras are removed from the SDK (they will likely move to a new repo):

  • Delete assemblyai/extras.py (MicrophoneStream, stream_file, file_from_stream) and drop extras from the package exports.
  • Remove the [extras] / pyaudio extras_require from setup.py.
  • README: the sync file-streaming example now paces the file with a plain generator (mirroring the async example); the microphone-streaming section and pip install "assemblyai[extras]" instructions are removed.
  • Delete tests/unit/test_extras.py and tests/unit/test_imports.py (all of its tests exercised the extras/pyaudio import behavior).
  • tox no longer installs pyaudio and drops the py311-pyaudio0.2 env.
  • CI no longer installs portaudio19-dev.

assemblyai/streaming/v3/extras.py (dual-channel support) is unrelated and untouched.

🤖 Generated with Claude Code

ccampbell-aai and others added 2 commits August 12, 2026 16:33
Drop assemblyai/extras.py (MicrophoneStream, stream_file,
file_from_stream) and the pyaudio extras_require for the major
release. The SDK no longer captures audio — callers supply PCM
chunks themselves. README streaming examples now pace files with a
plain generator; tox no longer installs pyaudio.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pyaudio is no longer a test dependency now that the extras are gone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ccampbell-aai
ccampbell-aai marked this pull request as ready for review August 12, 2026 23:32
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ccampbell-aai
ccampbell-aai merged commit 5d341b4 into master Aug 13, 2026
7 checks passed
@ccampbell-aai
ccampbell-aai deleted the ccampbell/remove-extras branch August 13, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants