azure-monitor-opentelemetry broken with the recent v1.32.0 release of opentelemetry-api and opentelemetry-sdk #40465
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
Monitor - Exporter
Monitor OpenTelemetry Exporter
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
The new 1.32.0 version of opentelemetry-api and opentelemetry-sdk brings a breaking change that removes the
get_dist_dependency_conflicts()
function used by azure-monitor-opentelemetry.To Reproduce
Steps to reproduce the behavior:
pip install azure-monitor-opentelemetry
from azure.monitor.opentelemetry import configure_azure_monitor
Expected behavior
The import of 'configure_azure_monitor' shouldn't fail.
Screenshots
Workaround
Explicitly installing opentelemetry-sdk at a previous version, ie 1.31.1, fixes the issue.
Additional context
The setup.py file specifies dependency versions for opentelemetry-api and opentelemetry-sdk as ~=1.26. This allows any version within the range >=1.26.0 and <2.0.0 to be installed, as the ~= specifier ensures compatibility within the same major version. As a result, pip installs version 1.32.0, which falls within this range.
The text was updated successfully, but these errors were encountered: