Skip to content

Clean up and unify dependency versions#244

Merged
lmolkova merged 8 commits into
open-telemetry:mainfrom
lmolkova:clean-up-dep-versions
Jul 11, 2026
Merged

Clean up and unify dependency versions#244
lmolkova merged 8 commits into
open-telemetry:mainfrom
lmolkova:clean-up-dep-versions

Conversation

@lmolkova

Copy link
Copy Markdown
Member

Fixes #243

  • Don't pin minor versions, allow ranges within supported major version(s)
  • Use released version in examples
  • Enabled Renovate for examples' requirements files.
  • Documented the updated versioning rules

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dependency specifiers across the GenAI util and several instrumentations to relax overly tight pins, and refreshes example install requirements while expanding Renovate coverage for requirements.txt files.

Changes:

  • Loosens OpenTelemetry beta dependency pins in multiple pyproject.toml files (e.g., >= 0.64b0, <1).
  • Switches examples from local/editable installs to released package version specifiers (e.g., ~=1.0b0).
  • Documents dependency-versioning rules and enables Renovate updates for example requirements.txt.

Reviewed changes

Copilot reviewed 29 out of 30 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
util/opentelemetry-util-genai/pyproject.toml Loosens OTel beta dependency constraints to major-bounded ranges.
instrumentation/opentelemetry-instrumentation-google-genai/pyproject.toml Adjusts dependency formatting/constraints (needs follow-up for bounds/consistency).
instrumentation/opentelemetry-instrumentation-google-genai/examples/zero-code/requirements.txt Pins example dependencies and switches to a released instrumentation version.
instrumentation/opentelemetry-instrumentation-google-genai/examples/manual/requirements.txt Pins example dependencies and switches to a released instrumentation version.
instrumentation/opentelemetry-instrumentation-genai-weaviate-client/pyproject.toml Aligns OTel dependencies with the repo’s newer baseline.
instrumentation/opentelemetry-instrumentation-genai-openai/pyproject.toml Updates OTel beta deps to major-bounded ranges and uses released util version constraints.
instrumentation/opentelemetry-instrumentation-genai-openai/examples/zero-code/requirements.txt Uses released OpenAI instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-openai/examples/manual/requirements.txt Uses released OpenAI instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-openai/examples/embeddings/requirements.txt Uses released OpenAI instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-openai-agents/pyproject.toml Updates OTel beta deps to major-bounded ranges and uses released util version constraints.
instrumentation/opentelemetry-instrumentation-genai-openai-agents/examples/zero-code/requirements.txt Uses released OpenAI Agents instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-openai-agents/examples/manual/requirements.txt Replaces editable installs with released package requirements.
instrumentation/opentelemetry-instrumentation-genai-langchain/pyproject.toml Updates OTel beta deps and util-genai constraints to major-bounded ranges.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/zero-code/requirements.txt Adds released LangChain instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/zero-code/pyproject.toml Updates LangChain deps and adds released instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/workflow/requirements.txt Adds released LangChain instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/tools/requirements.txt Adds released LangChain instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/manual/requirements.txt Adds released LangChain instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/manual/pyproject.toml Updates LangChain deps and adds released instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-langchain/examples/agent/requirements.txt Adds released LangChain instrumentation requirement.
instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/pyproject.toml Updates OTel beta deps and util-genai constraints to major-bounded ranges.
instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/examples/zero-code/requirements.txt Uses released Claude Agent SDK instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-claude-agent-sdk/examples/manual/requirements.txt Uses released Claude Agent SDK instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-anthropic/pyproject.toml Updates OTel beta deps and util-genai constraints to major-bounded ranges.
instrumentation/opentelemetry-instrumentation-genai-anthropic/examples/zero-code/requirements.txt Uses released Anthropic instrumentation version in the example.
instrumentation/opentelemetry-instrumentation-genai-anthropic/examples/manual/requirements.txt Uses released Anthropic instrumentation version in the example.
AGENTS.md Documents repo guidance for dependency versioning and compatibility.
.github/renovate.json5 Expands Renovate to manage requirements.txt (not just requirements.latest.txt).
.github/instructions/instrumentation.instructions.md Adds dependency-versioning rules for instrumentation PR reviews (minor markdown typo fix needed).

Comment thread instrumentation/opentelemetry-instrumentation-google-genai/pyproject.toml Outdated
Comment thread .github/instructions/instrumentation.instructions.md Outdated
@opentelemetry-pr-dashboard

Copy link
Copy Markdown

This PR has review comments. Review suggestions, whether from maintainers or automated reviewers, aren't always correct or required. Please evaluate each comment on its merits, then make sure each thread has a clear outcome.

For example, link to the commit if you applied a suggestion, explain why it wasn't applied, or ask a follow-up question.

Automation flags a PR for human review once every review thread has a reply or is marked as resolved.

Status across open PRs is visible on the pull request dashboard.

@lmolkova lmolkova enabled auto-merge July 11, 2026 00:34
@lmolkova lmolkova force-pushed the clean-up-dep-versions branch from c53771d to 47aae5c Compare July 11, 2026 00:42
@lmolkova lmolkova added this pull request to the merge queue Jul 11, 2026
Merged via the queue into open-telemetry:main with commit 48ed221 Jul 11, 2026
85 checks passed
@lmolkova lmolkova deleted the clean-up-dep-versions branch July 11, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Use released versions of instrumentations libs (when possible) in examples req.txt and pyproject.toml

4 participants