Floor strands-agents at 1.48.0, where the Storage interface landed - #19
Merged
Merged
Conversation
pyproject declared a bare strands-agents dependency, so pip could resolve any SDK version, including ones predating the unified Storage interface this package implements. The failure would then be an ImportError at first use instead of a clean resolver error at install time. The TypeScript package has carried the equivalent floor (@strands-agents/sdk >=1.10.0) since the import. The floor is measured, not guessed. The interface landed upstream in strands-agents/harness-sdk #3259 (commit 1aff2707); comparing that commit against release tags shows python/v1.47.0 predates it and python/v1.48.0 is the first release containing it. Verified empirically both directions: the full unit suite passes on a venv pinned to 1.48.0 (53 passed), and on 1.47.0 the package fails exactly as an unfloored install would, ImportError: cannot import name 'StorageError' from 'strands.types.exceptions'.
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.
pyproject.tomldeclared a barestrands-agentsdependency, so pip could resolve any SDK version -- including ones predating the unifiedStorageinterface this package implements. The failure mode would be anImportErrorat first use instead of a clean resolver error at install time. The TypeScript package has carried the equivalent floor (@strands-agents/sdk >=1.10.0) since the import.The floor is measured, not guessed. The interface landed upstream in strands-agents/harness-sdk#3259 (commit
1aff2707); comparing that commit against release tags showspython/v1.47.0predates it andpython/v1.48.0is the first release containing it. Verified empirically in both directions: the full unit suite passes on a venv pinned tostrands-agents==1.48.0(53 passed), and on1.47.0the package fails exactly as an unfloored install would (ImportError: cannot import name 'StorageError' from 'strands.types.exceptions').Gates: ruff format + check, mypy --strict, 53 passed / 6 skipped.