Skip to content

chore(deps): update opentelemetry-api requirement from >=1.37.0 to >=1.41.0#218

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/opentelemetry-api-gte-1.41.0
Open

chore(deps): update opentelemetry-api requirement from >=1.37.0 to >=1.41.0#218
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/opentelemetry-api-gte-1.41.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Updates the requirements on opentelemetry-api to permit the latest version.

Changelog

Sourced from opentelemetry-api's changelog.

Version 1.41.0/0.62b0 (2026-04-09)

  • opentelemetry-sdk: Add host resource detector support to declarative file configuration via detection_development.detectors[].host (#5002)
  • opentelemetry-sdk: Add container resource detector support to declarative file configuration via detection_development.detectors[].container, using entry point loading of the opentelemetry-resource-detector-containerid contrib package (#5004)
  • opentelemetry-sdk: Add create_tracer_provider/configure_tracer_provider to declarative file configuration, enabling TracerProvider instantiation from config files without reading env vars (#4985)
  • Enabled the flake8-tidy-import plugins rules for the ruff linter. These rules throw warnings for relative imports in the modules. (#5019)
  • opentelemetry-sdk: Fix AttributeError in ExplicitBucketHistogramAggregation when applied to non-Histogram instruments without explicit boundaries (#5034)
  • Fix BatchLogRecordProcessor default schedule_delay_millis from 5000ms to 1000ms to comply with the OTel specification. Note: logs may be exported 5x more frequently by default (e.g. for users who don't explicitly set the OTEL_BLRP_SCHEDULE_DELAY env var). (#4998)
  • opentelemetry-sdk: Add process resource detector support to declarative file configuration via detection_development.detectors[].process (#5001)
  • opentelemetry-sdk: Add shared _parse_headers helper for declarative config OTLP exporters (#5021)
  • opentelemetry-api: Replace a broad exception in attribute cleaning tests to satisfy pylint in the lint-opentelemetry-api CI job
  • opentelemetry-sdk: Add create_meter_provider/configure_meter_provider to declarative file configuration, enabling MeterProvider instantiation from config files without reading env vars (#4987)
  • opentelemetry-sdk: Add create_resource and create_propagator/configure_propagator to declarative file configuration, enabling Resource and propagator instantiation from config files without reading env vars (#4979)
  • opentelemetry-sdk: Map Python CRITICAL log level to OTel FATAL severity text per the specification (#4984)
  • opentelemetry-sdk: Add file configuration support with YAML/JSON loading, environment variable substitution, and schema validation against the vendored OTel config JSON schema (#4898)
  • Fix intermittent CI failures in getting-started and tracecontext jobs caused by GitHub git CDN SHA propagation lag by installing contrib packages from the already-checked-out local copy instead of a second git clone (#4958)
  • opentelemetry-sdk: fix type annotations on MetricReader and related types (#4938)
  • opentelemetry-sdk: implement log creation metric (#4935)
  • opentelemetry-sdk: implement metric reader metrics (#4970)
  • opentelemetry-sdk: implement processor metrics (#5012)
  • opentelemetry-sdk: upgrade vendored OTel configuration schema from v1.0.0-rc.3 to v1.0.0 (#4965)
  • improve check-links ci job (#4978)
  • Resolve some Pyright type errors in Span/ReadableSpan and utility stubs (#4973)
  • opentelemetry-exporter-prometheus: Fix metric name prefix (#4895)
  • opentelemetry-api, opentelemetry-sdk: Add deepcopy support for BoundedAttributes and BoundedList (#4934)
  • opentelemetry-proto-json, opentelemetry-codegen-json: Implement custom protoc plugin to generate OTLP JSON class definitions (#4910)
  • Add configurable max_export_batch_size to OTLP HTTP metrics exporter

... (truncated)

Commits
  • 1a178fc [release/v1.41.x-0.62bx] Prepare release 1.41.0/0.62b0 (#5064)
  • 37dea4b feat: add experimental logger configurator (#4980)
  • 7c860ca misc: update version for codegen-json and proto-json packages (#5061)
  • b3d98b3 [chore]: update readme (#5060)
  • dbbd1bc feat(config): Add MeterProvider support for declarative config (#4987)
  • 6faa58c feat(config): add host resource detector support for declarative config (#5002)
  • c0cbfbd feat(config): wire container resource detector via entry point loading (#5004)
  • f764e45 feat(config): Add TracerProvider support for declarative config (#4985)
  • e301732 Add MikeGoldsmith to approvers (#5038)
  • 8783a58 introduce alls-green action for required checks (#4988)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Greptile Summary

This Dependabot PR raises the minimum opentelemetry-api floor from >=1.37.0 to >=1.41.0, but leaves opentelemetry-sdk and opentelemetry-exporter-otlp-proto-http unchanged at >=1.37.0. Because all three packages are released in lockstep and each SDK/exporter release pins its API dependency to the same minor version, the mismatched floors risk a dependency resolution failure or a runtime incompatibility in constrained environments.

  • The opentelemetry-sdk and opentelemetry-exporter-otlp-proto-http minimums should also be bumped to >=1.41.0 to stay consistent with the API bump.
  • Note from the upstream changelog: BatchLogRecordProcessor default schedule_delay_millis changes from 5000 ms to 1000 ms in 1.41.0 — logs will be flushed 5× more frequently by default, which may increase exporter traffic.

Confidence Score: 4/5

Not safe to merge as-is — the version floor mismatch between opentelemetry-api (>=1.41.0) and opentelemetry-sdk/exporter (>=1.37.0) can cause dependency resolution failures.

A single P1 finding remains: the three tightly-coupled OpenTelemetry packages have inconsistent minimum version floors, which risks an irresolvable dependency set or a runtime incompatibility in constrained environments. The fix is a one-line change to each of the two lagging entries.

pyproject.toml — the opentelemetry-sdk and opentelemetry-exporter-otlp-proto-http minimum versions need to be raised to match the new opentelemetry-api floor.

Important Files Changed

Filename Overview
pyproject.toml Bumps opentelemetry-api minimum to >=1.41.0, but leaves opentelemetry-sdk and opentelemetry-exporter-otlp-proto-http at >=1.37.0, creating a version floor mismatch for tightly-coupled packages.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pip install creditnexus] --> B{Resolve opentelemetry-api}
    B --> C[opentelemetry-api >= 1.41.0\nresolved to 1.41.0+]
    A --> D{Resolve opentelemetry-sdk}
    D --> E[opentelemetry-sdk >= 1.37.0\ncould resolve to 1.37.x]
    E --> F{SDK 1.37.x requires\nopentelemetry-api ~= 1.37.x}
    C --> G{API 1.41.x incompatible\nwith SDK 1.37.x constraint}
    F --> G
    G --> H[Resolution failure or\nruntime incompatibility]
    G --> I[OR: pip forces SDK to 1.41.x\nignoring declared >=1.37.0 floor]
Loading

Reviews (1): Last reviewed commit: "chore(deps): update opentelemetry-api re..." | Re-trigger Greptile

Greptile also left 1 inline comment on this PR.

Updates the requirements on [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python) to permit the latest version.
- [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-python@v1.37.0...v1.41.0)

---
updated-dependencies:
- dependency-name: opentelemetry-api
  dependency-version: 1.41.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 13, 2026

Labels

The following labels could not be found: python. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Comment thread pyproject.toml
Comment on lines 88 to +90
"opentelemetry-sdk>=1.37.0",
"opentelemetry-exporter-otlp-proto-http>=1.37.0",
"opentelemetry-api>=1.37.0",
"opentelemetry-api>=1.41.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Version floor mismatch across OpenTelemetry packages

opentelemetry-sdk and opentelemetry-exporter-otlp-proto-http still declare >=1.37.0 while opentelemetry-api is now >=1.41.0. These three packages are released in lockstep and the SDK/exporter packages declare a pinned or narrowly-bounded dependency on the API at the same version. SDK 1.37.x requires API ~1.37.x, so a resolver that satisfies the minimum floors could produce an irresolvable set — or, in a constrained environment, install an SDK that refuses to load against API 1.41.0. All three minimum bounds should move together.

Suggested change
"opentelemetry-sdk>=1.37.0",
"opentelemetry-exporter-otlp-proto-http>=1.37.0",
"opentelemetry-api>=1.37.0",
"opentelemetry-api>=1.41.0",
"opentelemetry-sdk>=1.41.0",
"opentelemetry-exporter-otlp-proto-http>=1.41.0",
"opentelemetry-api>=1.41.0",

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.

0 participants