Skip to content

Bump py-key-value-aio to >=0.4.0,<0.5.0#3143

Merged
jlowin merged 2 commits intomainfrom
claude/issue-3052-20260210-2313
Feb 11, 2026
Merged

Bump py-key-value-aio to >=0.4.0,<0.5.0#3143
jlowin merged 2 commits intomainfrom
claude/issue-3052-20260210-2313

Conversation

@strawgate
Copy link
Copy Markdown
Collaborator

Upgrades py-key-value-aio from 0.3.0 to 0.4.0, taking advantage of improved type annotations in PydanticAdapter.

The v0.4.0 release fixes type signature issues with generic aliases, allowing us to remove 6 type: ignore[arg-type] comments from the caching middleware. All tests pass and no breaking changes were encountered.

Closes #3052


Generated with Claude Code

github-actions Bot and others added 2 commits February 10, 2026 23:17
Co-authored-by: Bill Easton <strawgate@users.noreply.github.com>
@marvin-context-protocol marvin-context-protocol Bot added enhancement Improvement to existing functionality. For issues and smaller PR improvements. dependencies Updates to project dependencies. Automatically applied to dependabot PRs. labels Feb 11, 2026
@strawgate strawgate added this to the 3.0 milestone Feb 11, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 11, 2026

Walkthrough

This pull request updates documentation references in the FastMCP server middleware caching documentation to reflect new line numbers in the source file. Concurrently, in-code comments indicating expected typing fixes for PydanticAdapter generic aliases have been removed from the caching middleware implementation, along with associated type: ignore annotations on pydantic_model arguments. These changes reflect cleanup following the upgrade of the py-key-value-aio dependency, with no modifications to caching logic or public APIs.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: bumping the py-key-value-aio dependency version, which is the primary purpose of this PR.
Description check ✅ Passed The description covers the upgrade details, rationale for improved type annotations, removal of type ignore comments, test status, and closes the linked issue. The contributors and review checklists are appropriately marked.
Linked Issues check ✅ Passed The PR meets the requirements of issue #3052: upgrades py-key-value-aio to >=0.4.0,<0.5.0, takes advantage of improved type annotations, removes type ignore comments, confirms no breaking changes, and all tests pass.
Out of Scope Changes check ✅ Passed All changes are directly related to the dependency upgrade and its implications: documentation reference updates and removal of type ignore comments that are no longer needed due to the upgraded dependency.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/issue-3052-20260210-2313

No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jlowin
Copy link
Copy Markdown
Member

jlowin commented Feb 11, 2026

Nice!

@jlowin jlowin merged commit 8e1f662 into main Feb 11, 2026
14 checks passed
@jlowin jlowin deleted the claude/issue-3052-20260210-2313 branch February 11, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates to project dependencies. Automatically applied to dependabot PRs. enhancement Improvement to existing functionality. For issues and smaller PR improvements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump py-key-value-aio to >= 0.4.0

2 participants