Debian Patches
Status for vcr.py/8.1.1-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| remove-privacy-breach-urls.patch | Remove privacy breach URLs | Daniele Tricoli <eriol@mornie.org> | not-needed | 2016-08-28 | ||
| 0002-Fix-aiohttp-3.14-compatibility-995.patch | Fix aiohttp 3.14 compatibility (#995) aiohttp 3.14.0 broke vcrpy's aiohttp stub in two independent ways: - `aiohttp.streams.AsyncStreamReaderMixin` was removed (internal symbol, never in `__all__`; aio-libs/aiohttp#12357), so importing `vcr.stubs.aiohttp_stubs` raised `AttributeError` at class-definition time. The mixin only added the async-iteration helpers `iter_chunked`/`iter_any`/ `iter_chunks` on top of `asyncio.StreamReader`; reimplement them directly on `MockStream` using aiohttp's `AsyncStreamIterator`/`ChunkTupleAsyncStreamIterator` (present in both old and new aiohttp). - `ClientResponse.__init__` now requires a `stream_writer` argument and, when `writer is None`, reads `stream_writer.output_size`. Pass a zero-sized writer stub when the parameter is present, detected via signature introspection so older aiohttp (which has no such parameter) keeps working. No aiohttp version cap is added; the stub imports and plays back cassettes under both aiohttp < 3.14 and >= 3.14. Adds `test_stream_chunked` to guard the async-iteration surface, which the existing suite did not exercise. |
David Sanchez <64162682+dsfaccini@users.noreply.github.com> | no | 2026-06-01 |
