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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-vcrpy | 7.0.0_3 behind since 2026-07-05 | no data | - | [email protected] | 2026-09-16 |
| FreeBSD | devel/py-vcrpy | 8.3.0 newest | none known | - | [email protected] | 2026-07-12 |
| DragonFly | devel/py-vcrpy | 7.0.0_1 behind since 2026-07-05 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-vcrpy | 8.3.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-vcrpy | 8.3.0 newest | no data | - | [email protected] | - |
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
${PYTHON_PKGNAMEPREFIX}six>=1.5: devel/py-six${PYTHON_PKGNAMEPREFIX}wrapt>0: devel/py-wrapt${PYTHON_PKGNAMEPREFIX}pyyaml>=0: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}yarl>0: www/py-yarl
Test 1
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
Run dependencies 4
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| vcrpy-7.0.0.tar.gz | 85502 | 176391ad0425edde1680c5b20738ea3dc7fb942520a48d2993448050986b3a50 |
Master sites 1
- PYPI