Registry / testing / approval-utilities

approval-utilities

JSON →
library18.1.1pypypiunverified

Supporting utilities for approval testing in Python, commonly used with the approvaltests package. Current version 18.0.1, released regularly via GitHub releases. Supports Python 3.10+.

pip install approval-utilities
INSTALL
IMPORT
SIG · APPROVAL-UTILITIES
A
approval-utilities
testingpythonv18.1.1
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v18.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

verify
from approval_utilities import verify
from approval_utilities import verify

Quick example of using LoggerUtilities from approval_utilities.

from approval_utilities.utilities import LoggerUtilities logger = LoggerUtilities() logger.log('test')
Debug
Known issues
breakingRemoved support for Python 3.8 and 3.9 in v18.0.0. These versions are no longer compatible.
fix
Upgrade to Python 3.10+ or stay on v17.x if you cannot upgrade Python.
affects: <18.0.0
gotchaThe package 'approvaltests-minimal' now correctly declares dependency on 'approval_utilities' from v18.0.0 onwards, but older versions might missing the dependency. Install explicitly if needed.
fix
Run 'pip install approval-utilities' alongside approvaltests-minimal.
affects: <18.0.0
deprecatedThe verify function imported from approvaltests is deprecated and will be removed in future approvaltests releases. Migrate to approval_utilities.
fix
Use 'from approval_utilities.utilities import verify' instead.
affects: all
Upgrade
Version history
18.1.1latest on PyPI · released Jun 15, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
approval-utilities — pip install approval-utilities · libregistry