---
title: "pytest-recording 0.15.0 Breaking Changes on PyPI | Since.dev"
description: "What each pytest-recording release removed, renamed or changed: 14 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pytest-recording
last_updated: 2026-12-04
---

# pytest-recording breaking changes

pytest-recording 0.15.0 (November 15, 2026) is its newest release with breaking changes, 14 of them. The first: Failed cassette removal in rewrite mode now emits a warning in pytest-recording 0.15.0. Every breaking API change we have recorded in pytest-recording on PyPI: 14 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.15.0`, released November 15, 2026. [Source repository](https://github.com/kiwicom/pytest-recording)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## pytest-recording 0.15.0 breaking changes

pytest-recording 0.15.0, released November 15, 2026: 14 breaking changes.

- **Behavior changed**  

A failure to remove an existing cassette in the rewrite record mode now emits a warning instead of being silently ignored. Code that depends on silent failure may see new warnings. [github.com](https://github.com/kiwicom/pytest-recording/releases/tag/v0.15.0)
- **Configuration changed**  

The minimum supported versions are now vcrpy 4.0.2 and pytest 6.2.5. Users on older versions of these dependencies must upgrade. [github.com](https://github.com/kiwicom/pytest-recording/releases/tag/v0.15.0)
- **Signature changed** `pytest_recording.network.block`  

Was def block(allowed_hosts: Optional\[List\[str\]\] = None) -> None; now def block(allowed_hosts: list\[str\] | None = None, allow_private_ips: bool = False, transports: Iterable\[str\] = TRANSPORTS) -> None. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.block_pycurl`  

Was def block_pycurl(allowed_hosts: Optional\[List\[str\]\] = None) -> None; now def block_pycurl(allowed_hosts: list\[str\] | None = None, allow_private_ips: bool = False) -> None. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.block_socket`  

Was def block_socket(allowed_hosts: Optional\[List\[str\]\] = None) -> None; now def block_socket(allowed_hosts: list\[str\] | None = None, allow_private_ips: bool = False) -> None. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.blocking_context`  

Was def blocking_context(allowed_hosts: Optional\[List\[str\]\] = None) -> Iterator\[None\]; now def blocking_context(allowed_hosts: list\[str\] | None = None, allow_private_ips: bool = False, transports: Iterable\[str\] = TRANSPORTS) ->... [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.check_pycurl_installed`  

Was def check_pycurl_installed(func: Callable) -> Callable; now def check_pycurl_installed(func: Callable\[..., Any\]) -> Callable\[..., Any\]. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.make_network_guard`  

Was def make_network_guard(original_func: Callable, allowed_hosts: Optional\[List\[str\]\] = None) -> Callable; now def make_network_guard(original_func: Callable\[..., Any\], allowed_hosts: list\[str\] | None = None, allow_private_ips: bool =... [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.make_socketpair_guard`  

Was def make_socketpair_guard(original_func: Callable) -> Callable; now def make_socketpair_guard(original_func: Callable\[..., Any\]) -> Callable\[..., Any\]. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.network.unblock`  

Was def unblock() -> None; now def unblock(transports: Iterable\[str\] = TRANSPORTS) -> None. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.plugin.allowed_hosts`  

Was def allowed_hosts(request: SubRequest) -> List\[str\]; now def allowed_hosts(request: SubRequest) -> list\[str\] | None. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.plugin.vcr_config`  

Was def vcr_config() -> Dict; now def vcr_config() -> dict\[str, Any\]. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.utils.unique`  

Was def unique(sequence: Iterable) -> Iterator; now def unique(sequence: Iterable\[T\]) -> Iterator\[T\]. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)
- **Signature changed** `pytest_recording.utils.unpack`  

Was def unpack(\*args: Any) -> Iterable; now def unpack(\*args: Any) -> Iterable\[Any\]. [pypi.org](https://pypi.org/project/pytest-recording/0.15.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
