Skip to content

Commit a0f5484

Browse files
zurdi15claude
andcommitted
fix(deps): bump vcrpy to 8.2.1 for aiohttp 3.14 compatibility
The pytest CI was failing on every vcr-marked test with: AttributeError: module 'aiohttp.streams' has no attribute 'AsyncStreamReaderMixin' aiohttp 3.14 (bumped in #3530) removed AsyncStreamReaderMixin, which vcrpy's aiohttp stub referenced until 8.2.0. The lockfile still pinned vcrpy 7.0.0 because the aiohttp bump only re-resolved aiohttp, and the fixed vcrpy 8.2.x releases fall inside the global `exclude-newer = "7 days"` window. Add a per-package exclude-newer override (mirroring starlette) so the fixed release is allowed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 34e2ead commit a0f5484

2 files changed

Lines changed: 11 additions & 31 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ DEP002 = [ # DEP002 rule: Project should not contain unused dependencies
136136
[tool.uv]
137137
package = false
138138
exclude-newer = "7 days"
139-
exclude-newer-package = { starlette = "2026-05-22" }
139+
# vcrpy < 8.2.0 references aiohttp.streams.AsyncStreamReaderMixin, removed in
140+
# aiohttp 3.14; allow the fixed release past the global 7-day window.
141+
exclude-newer-package = { starlette = "2026-05-22", vcrpy = "2026-06-17" }
140142

141143
[tool.ty.environment]
142144
root = ["./backend"]

uv.lock

Lines changed: 8 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)