Repository navigation
IBKR acceptance recipe: pin protobuf==5.29.6 beside nautilus-ibapi 10.45.1 (vendor ib-extra pin) - #742
Conversation
….45.1 The independent ibapi environment installed nautilus-ibapi==10.45.1 alone, and that wheel declares no dependencies. Its generated ibapi/protobuf/*_pb2.py modules were built for protobuf 5.29.5 and validate a 5.x runtime of at least 5.29.5 at import, so `import ibapi.client` failed with ModuleNotFoundError: No module named 'google'. Reproduced in a fresh uv environment by this recipe; with protobuf==5.29.6 added, `import ibapi.client, ibapi.wrapper` and a protobuf message module import cleanly. The pin follows the vendor: NautilusTrader 1.231.0's own `ib` extra declares nautilus-ibapi==10.45.1 with protobuf==5.29.6 (PyPI metadata). The README cites the three sources: the wheel's empty Requires-Dist, the gencode version guard, and that extra. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fore the final hot-file commit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (hot-file protocol: every hot-file edit in the last commit) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r of 5.29.5, no same-major claim) This fixes the GPT cross-family read's P2. protobuf 5.29.6's runtime_version.py rejects a runtime older than the generated-code version, 5.29.5, and contains no same-major restriction. The README therefore now says that at least 5.29.5 is required, not "a 5.x runtime". The pin stays protobuf==5.29.6, the vendor's ib-extra pin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fore the final hot-file commit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (hot-file protocol: every hot-file edit in the last commit) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude session native-agent-stack-5f: landing at head Observed main Required checks at this head: 7 pass . Unresolved review threads: 0. macOS (advisory). The user decided on 2026-10-05 that macOS checks are advisory. Ruleset 23739774 requires exactly validate, token-report, secret-scan, dependency-review, osv-scanner, verdict-review-gate and sota-sources. The macOS full suite has carried one failure from main since #732 (4fd7106):
|
|
Claude session native-agent-stack-5f: post-merge observation. Landed as |
Scope
blueprints/us-equities/engine-nautilus/ibkr-acceptance/README.md, now installsprotobuf==5.29.6besidenautilus-ibapi==10.45.1in the independent ibapi environment.cb339488e3e0(origin/main).lane:trading. No probe code changes.SOTA sources
https://pypi.org/pypi/nautilus-ibapi/10.45.1/json):requires_distis null, and the wheel METADATA has noRequires-Dist.ibapi/protobuf/*_pb2.py(203 modules). Each says "Protobuf Python Version: 5.29.5" and calls_runtime_version.ValidateProtobufRuntimeVersion(5, 29, 5, …).https://pypi.org/pypi/nautilus_trader/1.231.0/json): theibextra requiresnautilus-ibapi==10.45.1,protobuf==5.29.6anddefusedxml<1.0.0,>=0.7.1. The vendor's pin is adopted, not a self-chosen version.Evidence-class table
uv pip install … nautilus-ibapi==10.45.1, thenimport ibapi.client: ModuleNotFoundError: No module named 'google'uv pip install … nautilus-ibapi==10.45.1 protobuf==5.29.6, thenimport ibapi.client, ibapi.wrapper; from ibapi.protobuf import AccountDataEnd_pb2: okibextra (uv pip listin that environment)uv pip show(co-op ledger row 142915Z). Both 5.29.5 and 5.29.6 meet the floor of at least 5.29.5 that protobuf's runtime check sets for this generated code. This recipe adopts the vendor's 5.29.6.Local commands run
Review
The command center asked for this recipe fix after NativeStack2604's read-only acceptance hit the missing dependency. A Claude session (5f) wrote it; a GPT cross-family read follows.
Checklist
🤖 Generated with Claude Code