Setup¶
Requirements¶
- Python 3.12.7 or newer
uv- Docker for integration suites
- Network access to PyPI for a clean dependency resolution
- A Docker daemon with enough memory for database containers
The fast suite does not require Docker. Provider tests are marked
integration and skipped unless explicitly enabled.
Install the locked environment¶
From the repository root:
The lockfile includes dbwarden database extras, Testcontainers, pytest, Ruff, benchmark tooling, Zensical, and the SEO extension used by the documentation.
Confirm the consumer package¶
The distribution tests verify that dbwarden is installed, exposes its expected package files, has a console entry point, and does not resolve from a source checkout.
Confirm Docker¶
The harness providers use Testcontainers directly. The compose files under
infrastructure are available for local service inspection, but the pytest
providers own their container lifecycle.