From 20b1581e37f1867b589d1333c617af1682dbaf1f Mon Sep 17 00:00:00 2001 From: serversdown Date: Thu, 19 Nov 2026 13:33:21 -0500 Subject: [PATCH] build: a test dependency group -- pytest and httpx httpx is FastAPI's TestClient transport; without it tests/test_db_snapshot_endpoints.py skipped its 3 tests everywhere. `pip install -e .[test]` now brings what the suite needs. The runtime requirements are unchanged. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9 --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6a4bcdf..08ca4fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,11 @@ dependencies = [ "matplotlib>=3.8", ] +[project.optional-dependencies] +# What the test suite needs beyond the runtime: `pip install -e .[test]`. +# httpx is FastAPI's TestClient transport (tests/test_db_snapshot_endpoints.py). +test = ["pytest>=7", "httpx>=0.24"] + [tool.setuptools.packages.find] # Auto-discovers minimateplus/, micromate/, sfm/, bridges/ as packages where = ["."]