molecule-core/tests/harness/requirements.txt
Hongming Wang c8b17ea1ad fix(harness): install httpx for replay Python evals
peer-discovery-404 imports workspace/a2a_client.py which depends on
httpx; the runner's stock Python doesn't have it, so the replay's
PARSE assertion (b) fails with ModuleNotFoundError on every run. The
WIRE assertion (a) — pure curl — passes, so the failure was masking
just enough to make the replay LOOK partially-broken when the tenant
side is fine.

Adding tests/harness/requirements.txt with only httpx instead of
sourcing workspace/requirements.txt: that file pulls a2a-sdk,
langchain-core, opentelemetry, sqlalchemy, temporalio, etc. — ~30s
of install for one replay's PARSE step. The harness's deps surface
should grow when a new replay introduces a new import, not by
default.

Workflow gains one step (`pip install -r tests/harness/requirements.txt`)
between the /etc/hosts setup and run-all-replays. No other changes.
2026-04-30 13:32:00 -07:00

15 lines
629 B
Plaintext

# Harness-replay Python deps — minimal set for replays/*.sh scripts that
# eval Python against the running tenant (e.g. importing
# workspace/a2a_client.py to assert parser behavior).
#
# This is intentionally smaller than workspace/requirements.txt: the
# replays don't need a2a-sdk, langchain, opentelemetry, etc. — only the
# HTTP client surface that the imported helpers depend on. Adding the
# full workspace deps would slow every harness CI run by ~30s for no
# gain.
#
# Add a line here (with a version constraint matching workspace/requirements.txt)
# when a new replay introduces a new Python import.
httpx>=0.28.1