Repository navigation
Conversation
Python 3.8 and 3.9 are end-of-life and 3.10 reaches end-of-life in October 2026. Raise python_requires to >=3.11 and list only 3.11-3.14 in the classifiers. CI now tests 3.11-3.14 (3.13 and 3.14 were declared but never tested), and the mypy job and the PyPI build move off 3.9 and 3.8. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Resolve the version conflict by bumping master's unreleased 1.9.0 to 1.10.0, so the 3.11 floor stays a minor release of its own. Return the mypy job to ubuntu-latest: master pinned it to ubuntu-24.04 only because actions/setup-python has no Python 3.9 builds past that image, and the job now runs on 3.11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Python 3.8 and 3.9 are end-of-life, and 3.10 reaches end-of-life in October 2026. This makes 3.11 the minimum supported version.
python_requires=">=3.11", and the classifiers list only 3.11–3.14.ubuntu-latest: ci(lint): run the mypy job on ubuntu-24.04, which has Python 3.9 #285 pinned it toubuntu-24.04only becauseactions/setup-pythonhas no 3.9 builds on newer images. The PyPI build moves from 3.8 to 3.11.latestenvs are py311–py314. The dependency-floor envs already ran on 3.11 and are unchanged.No SDK code changes are needed: the suite already passes on 3.11–3.14.
Effect on users
pip on 3.10 or older skips this release and installs the newest release whose
Requires-Pythonstill allows their interpreter (1.8.2 today, or 1.9.0 if that is tagged before this merges). Their installs keep working; they stop getting updates. For that reason this is a minor bump rather than a major one.3.8 has not worked since 0.38.0.
assemblyai/types.pyimportstyping.Annotated, which needs 3.9, soimport assemblyaifails on 3.8. Nothing caught it because #112 removed 3.8 from CI the same day.Testing
test_a_forked_child_does_not_share_the_parents_tts_connectionssegfaults in the forked child in about half ofpytest -n autoruns. It fails at the same rate on master, so this change doesn't cause it.publish.ymlnow does. Both carryVersion: 1.10.0andRequires-Python: >=3.11.VIRTUALENV_PIP, the wheel installs on 3.11. On 3.10 it is rejected:requires a different Python: 3.10.21 not in '>=3.11'.tox -llists the py311–py314latestenvs plus the four py311 floor envs.Follow-up
The public docs still say "Python 3.8+" on several SDK pages (the pre-recorded, streaming, Sync STT and dictation quickstarts). They should change when this release ships.
🤖 Generated with Claude Code