r2-04-api-sdk-evolution.md 924 B

Review 04 — API, Python SDK, evolution

Verdict

CONDITIONAL. Previous independent review: FAIL / BLOCKED. Metadata is pinned to gencode. Fresh-venv wheel matrix PASS on CPython 3.11.13, 3.12.11, and 3.13.5 against a live Mock UDS (tools/sdk_wheel_matrix.sh, interpreters_run=3). This is still not a merge/release Pass: systemd nspawn and hardware validation remain open.

P0-2 Python runtime pin

Generated stubs require:

  • Protobuf Python gencode 7.35.1
  • grpcio generated version 1.83.0

pyproject.toml now declares:

protobuf>=7.35.1,<8
grpcio>=1.83.0,<2
grpcio-tools>=1.83.0,<2   # dev/gen extra

Checks

Check Result
Python import / no numpy/torch in SDK sources Pass
pytest 3.11 (host .venv-sdk) Pass (prior)
Fresh venv + wheel-only + Mock UDS GetCapabilities/Acquire/Validate/Apply 3.11 PASS, 3.12 PASS, 3.13 PASS