fix(aws-strands): raise Python ceiling to support 3.14 - #2293
Open
aviau wants to merge 1 commit into
Open
Conversation
ag_ui_strands declares requires-python = ">=3.12, <3.14", which blocks Python 3.14 even though nothing in the package or its dependency tree needs the cap. All direct dependencies already support 3.14 (strands-agents, ag-ui-protocol, fastapi have no upper bound; ag-ui-a2ui-toolkit is <3.15). Verified on CPython 3.14.6: - uv sync --python 3.14 --all-groups resolves and installs cleanly - import ag_ui_strands loads all 20 public exports - pytest tests/ - 176 passed, 2 skipped (same counts as the 3.10 floor verification in ag-ui-protocol#2285) - poetry install in examples/ on 3.14 resolves and installs; the demo server module imports fully (only fails at model-construction time on a missing API key, unrelated to Python version) - uv build - wheel reports Requires-Python: <3.15,>=3.12
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.
Problem
ag_ui_strandsdeclaresrequires-python = ">=3.12, <3.14", which blocksinstallation on Python 3.14 even though nothing in the package or its
dependency tree actually needs the cap.
Why 3.14 is safe
All direct dependencies already support it:
strands-agents,ag-ui-protocol,fastapi— no upper boundag-ui-a2ui-toolkit—>=3.10, <3.15Changes
pyproject.toml—requires-python = ">=3.12, <3.15"examples/pyproject.toml—python = "<3.15,>=3.12"examples/README.md— supported range now reads 3.12 – 3.14; drops thepoetry env use python3.13workaround that steered around 3.14uv.lock— regenerated; adds cp314 wheels. Also picks upag-ui-a2ui-toolkit0.0.3 → 0.0.4, matching the same incidental lock-driftfix noted in fix(aws-strands): lower Python floor to 3.10 #2285 (pyproject already required
>=0.0.4, the lock wasstill on 0.0.3)
Verification (CPython 3.14.6)
uv sync --python 3.14 --all-groups— resolves and installs cleanlyimport ag_ui_strands— all 20 public exports loadpytest tests/— 176 passed, 2 skipped (same counts as the 3.10 floorverification in fix(aws-strands): lower Python floor to 3.10 #2285)
poetry installinexamples/on a 3.14 interpreter — resolves andinstalls;
import serverloads the full app graph (only fails atmodel-construction time on a missing
OPENAI_API_KEY, unrelated toPython version)
uv build— wheel reportsRequires-Python: <3.15,>=3.12This is independent of #2282/#2285 (which only touch the floor) — happy to
rebase on top if that lands first.