Skip to content

fix(python): require the fi-instrumentation-otel each package's code uses - #634

Merged
nik13 merged 2 commits into
devfrom
fix/python-core-floors-on-dev
Nov 10, 2026
Merged

nik13 merged 2 commits into
devfrom
fix/python-core-floors-on-dev

Conversation

@nik13

@nik13 nik13 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

What was broken

Sixteen Python packages declared a minimum fi-instrumentation-otel version lower than the one their code needs. In an environment that already had an older core installed, they failed at import or on the first call, and upgrading the package alone did not upgrade the core.

What changed

  • Minimum raised to 1.0.0: cerebras, cohere, deepseek, dspy, google-genai, huggingface, instructor, ollama, pipecat, portkey, smolagents, together, vertexai and xai.
  • Minimum raised to 1.3.0: fireworks, which already requires Python 3.10 or later.
  • Minimum raised to 0.1.11: claude-agent-sdk.
  • Seven lock files change in their content-hash line only; no locked version moves.
  • beeai and strands each gain a test that checks the core names the package uses against the real installed core, because their existing tests replace the core with stand-ins.
  • Each package's changelog notes the new minimum.

Verification

  • For every package, each core name its code uses was checked against the contents of each published core version.
  • The new beeai and strands tests pass on core 1.3.0.
  • The release plan check is consistent. No package version is bumped in this change.

Compatibility

Environments that pin an older fi-instrumentation-otel must upgrade it to install these package versions.

nik13 added 2 commits November 9, 2026 17:34
…uses

Sixteen packages declared a core floor below the names their code reads (most use the
SpanAttributes.GEN_AI_* names first shipped in 1.0.0), so an environment that already had
an older core failed at import or on the first traced call. Raise each floor to the first
core that has every name, refresh the content hash of the seven Poetry locks (no version
changes), and add a real-core name check to beeai and strands, whose other tests replace
fi_instrumentation with mocks.
@nik13
nik13 merged commit 3cfa0b4 into dev Nov 10, 2026
55 checks passed
@nik13
nik13 deleted the fix/python-core-floors-on-dev branch November 10, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant