Environment:2akouwu Reverify Python 3 9 Plus
| Knowledge Sources | |
|---|---|
| Domains | Infrastructure, Verification |
| Last Updated | 2026-10-24 12:00 GMT |
Overview
Cross-platform pure-Python runtime (Python 3.8+ declared, 3.9+ tested in CI) with zero mandatory dependencies — the base for all reverify tooling.
Description
This environment provides a standard Python runtime for reverify's pure-Python core. The package declares `requires-python = ">=3.8"` in `pyproject.toml` but CI tests on Python 3.9 and 3.13 across Ubuntu, Windows, and macOS. No third-party dependencies are required: `pip install reverify` works with nothing else installed. When optional engines (capstone, unicorn, lief, z3) are present, the toolkit upgrades itself automatically — but the core never fails without them.
Usage
Use this environment for any reverify workflow: tool-grounded claim verification, the closed reconstruction loop, MCP server integration, and the durable ledger. It is the mandatory prerequisite for running the pure-Python core, the CLI, and the MCP stdio server.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Ubuntu / Windows / macOS | CI matrix covers all three |
| Hardware | Any CPU | No GPU required; pure-Python core |
| Disk | Minimal | No large datasets needed for core operation |
Dependencies
System Packages
- Python >= 3.8 (3.9+ recommended; CI tested on 3.9 and 3.13)
- No OS-level packages required
Python Packages
- No mandatory pip dependencies (`dependencies = []` in pyproject.toml)
- Optional: `pytest>=7.0` for dev/test
Credentials
No credentials required for the core environment. The live proposer (`openai_proposer`) requires:
- `OPENAI_API_KEY`: OpenAI-compatible API key (for the model proposer only)
- `OPENAI_MODEL`: Optional model override (defaults to `gpt-4o`)
- `OPENAI_BASE_URL`: Optional API base URL override
Quick Install
# Core install — no dependencies needed
pip install reverify
# With all mature engines (capstone, unicorn, lief, z3)
pip install "reverify[full]"
# Development / testing
pip install "reverify[dev]"
Code Evidence
Python version constraint from `pyproject.toml:10`:
requires-python = ">=3.8"
Zero mandatory dependencies from `pyproject.toml:26`:
dependencies = []
CI matrix testing across 3 OS + 2 Python versions from `.github/workflows/ci.yml:22-25`:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.9", "3.13"]
deps: [pure]
Optional engine extras from `pyproject.toml:28-35`:
capstone = ["capstone>=5.0"]
unicorn = ["unicorn>=2.0"]
lief = ["lief>=0.14"]
z3 = ["z3-solver>=4.12"]
angr = ["angr>=9.2"]
full = ["capstone>=5.0", "unicorn>=2.0", "lief>=0.14", "z3-solver>=4.12"]
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `ImportError: No module named 'capstone'` | Optional disassembly engine not installed | `pip install "reverify[capstone]"` (falls back to pure-Python) |
| `ImportError: No module named 'unicorn'` | Optional emulation engine not installed | `pip install "reverify[unicorn]"` (returns INCONCLUSIVE) |
| `RuntimeError: OPENAI_API_KEY required` | No API key for live proposer | Set `OPENAI_API_KEY` env var or inject a custom proposer |
Compatibility Notes
- Ubuntu/Linux: Full support; all CI steps including native execution benchmarks run.
- Windows: Pure-Python core fully supported; native execution benchmarks skip Windows (reconstructions step gated on `runner.os != 'Windows'`).
- macOS: Full support including universal binary x86_64 slice testing.
- Python 3.8: Declared as minimum but not tested in CI (CI starts at 3.9). Use 3.9+ for guaranteed compatibility.