Skip to content

Floor strands-agents at 1.48.0, where the Storage interface landed - #19

Merged
LeeroyHannigan merged 1 commit into
mainfrom
fix/strands-agents-version-floor
Aug 14, 2026
Merged

LeeroyHannigan merged 1 commit into
mainfrom
fix/strands-agents-version-floor

Conversation

@LeeroyHannigan

Copy link
Copy Markdown
Contributor

pyproject.toml 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 mode would 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 in both directions: the full unit suite passes on a venv pinned to strands-agents==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').

Gates: ruff format + check, mypy --strict, 53 passed / 6 skipped.

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'.
@LeeroyHannigan
LeeroyHannigan requested a review from a team as a code owner August 14, 2026 12:28
@LeeroyHannigan
LeeroyHannigan merged commit e45e5b0 into main Aug 14, 2026
10 checks passed
@LeeroyHannigan
LeeroyHannigan deleted the fix/strands-agents-version-floor branch August 14, 2026 13:02
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.

1 participant