BSD Ports

devel/py-vcrpy 7.0.0_3 MidnightBSD

Automatically mock HTTP interactions to simplify and speed up testing

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
d31e6c7450
License
mit
Categories
devel, www, python

Description

VCR.py simplifies and speeds up tests that make HTTP requests. The first time you run code that is inside a VCR.py context manager or decorated function, VCR.py records all HTTP interactions that take place through the libraries it supports and serializes and writes them to a flat file (in yaml format by default). This flat file is called a cassette.

When the relevant piece of code is executed again, VCR.py will read the serialized requests and responses from the aforementioned cassette file, and intercept any HTTP requests that it recognizes from the original test run and return the responses that corresponded to those requests. This means that the requests will not actually result in HTTP traffic, which confers several benefits including:

* The ability to work offline * Completely deterministic tests * Increased test execution speed

In the other systems

The newest version among them is 8.3.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-vcrpy7.0.0_3 behind since 2026-07-05no data-[email protected]2026-09-16
FreeBSDdevel/py-vcrpy8.3.0 newestnone known-[email protected]2026-07-12
DragonFlydevel/py-vcrpy7.0.0_1 behind since 2026-07-05none known-[email protected]-
HardenedBSDdevel/py-vcrpy8.3.0 newestno data-[email protected]-
GhostBSDdevel/py-vcrpy8.3.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}vcrpy

From mports:

cd /usr/mports/devel/py-vcrpy && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Runtime 4

Test 1

Run dependencies 4

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
vcrpy-7.0.0.tar.gz85502176391ad0425edde1680c5b20738ea3dc7fb942520a48d2993448050986b3a50
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
d31e6c7450 Lucas Holt *: bump PORTREVISION for py-aiohttp and py-brotli updates (#1280)
Rebuilds dependents of the two large version jumps in #1269: `www/py-aiohttp` 3.9.3 -> 3.14.3 (#1279) and `archivers/py-brotli` 1.0.9 -> 1.2.0 (#1278). 25 ports, `PORTREVISION` lines only — no other change in the diff. ### py-aiohttp dependents (18) plus devel/py-vcrpy `ai/py-datasets`, `ai/py-langchain-community`, `ai/py-langchain-google-community`, `ai/py-litellm`, `ai/py-tritonclient`, `devel/py-aiobotocore`, `devel/py-azure-core`, `devel/py-black`, `devel/py-gql`, `devel/py-sentry-sdk`, `devel/py-strawberry-graphql`, `devel/py-vcrpy`, `dns/py-idna_ssl`, `filesystems/py-s3fs`, `ftp/py-parfive`, `mail/py-postfix-mta-sts-resolver`, `security/py-google-auth`, `textproc/py-elasticsearch`, `www/py-google-resumable-media` …