Clean up and unify dependency versions#244
Conversation
There was a problem hiding this comment.
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.tomlfiles (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). |
|
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. |
c53771d to
47aae5c
Compare
Fixes #243