Skip to content

chore: bump opentelemetry-api from 1.42.1 to 1.43.0 - #7

Merged
bagowix merged 1 commit into
mainfrom
dependabot/uv/opentelemetry-api-1.43.0
Jun 27, 2026
Merged

chore: bump opentelemetry-api from 1.42.1 to 1.43.0#7
bagowix merged 1 commit into
mainfrom
dependabot/uv/opentelemetry-api-1.43.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 27, 2026

Copy link
Copy Markdown
Contributor

Bumps opentelemetry-api from 1.42.1 to 1.43.0.

Changelog

Sourced from opentelemetry-api's changelog.

Version 1.43.0/0.64b0 (2026-06-24)

Added

  • opentelemetry-sdk: add add_metric_reader / remove_metric_reader public APIs to register / unregister metric readers at runtime. (#4863)
  • opentelemetry-exporter-prometheus: add support for configuring metric scope labels (#5123)
  • opentelemetry-exporter-otlp-proto-grpc: Add grpc error details to the log message that's written when the grpc call fails. (#5143)
  • opentelemetry-exporter-http-transport: add 'opentelemetry-exporter-http-transport' package for HTTP exporters (#5194)
  • opentelemetry-sdk: Add composite/development samplers support to declarative file configuration (#5201)
  • opentelemetry-exporter-otlp-json-file: Add OTLP JSON File exporter implementation (#5207)
  • opentelemetry-sdk: add _resolve_component shared utility for declarative config plugin loading, reducing boilerplate in exporter factory functions (#5215)
  • opentelemetry-sdk: add pull metric reader support to declarative file configuration, including Prometheus metric reader via the prometheus_development config field (#5216)
  • opentelemetry-proto-json: update to use opentelemetry-proto v1.10.0 (#5224)
  • opentelemetry-proto: bump maximum supported protobuf version to 7.x.x (#5251)
  • opentelemetry-sdk: add ServiceInstanceIdResourceDetector for populating service.instance.id (#5259)
  • opentelemetry-sdk: declarative config loader now recursively converts parsed dicts into typed dataclass instances, including nested dataclasses, lists of dataclasses, and enum values. End-to-end YAML/JSON → SDK configuration now works via the factory functions. (#5269)
  • opentelemetry-sdk: add configure_sdk(config) to the declarative configuration API. Single entry point that takes a parsed OpenTelemetryConfiguration, builds the resource, and applies the tracer/meter/logger providers and propagator globally. Honors the top-level disabled flag. (#5270)
  • opentelemetry-sdk: the SDK configurator now honors the OTEL_CONFIG_FILE environment variable. When set, the SDK loads and applies the referenced declarative configuration file (YAML or JSON) in place of the env-var-based

... (truncated)

Commits
  • fcbbeb8 [release/v1.43.x-0.64bx] Prepare release 1.43.0/0.64b0 (#5349)
  • b40dcbc opentelemetry-exporter-http-transport: enable entry-point loading of transpor...
  • 10e8577 update to Sphinx to 8.1.3 in order to support Python 3.14 (#5278)
  • 6ac6895 docs: add declarative configuration guide and example (#5309)
  • 13ad4d5 opentelemetry-api: normalize empty environment propagation names to "_" in En...
  • 6a0ab84 opentelemetry-sdk: merge doesn't need a copy, dict already does this (#5326)
  • ac7a3df feat(config): support OTEL_CONFIG_FILE in the SDK configurator (#5271)
  • fa75422 Add support for composite samplers in declarative config (#5201)
  • 43f079f Update json and proto encoder to always accept None type, cleanup code / test...
  • 53c9d96 chore: cleanup typo found in test (#5324)
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python) from 1.42.1 to 1.43.0.
- [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.42.1...v1.43.0)

---
updated-dependencies:
- dependency-name: opentelemetry-api
  dependency-version: 1.43.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jun 27, 2026
@bagowix
bagowix merged commit 3d664ad into main Jun 27, 2026
6 checks passed
@bagowix
bagowix deleted the dependabot/uv/opentelemetry-api-1.43.0 branch June 27, 2026 07:58
bagowix added a commit that referenced this pull request Aug 7, 2026
…147)

## Summary

`pyproject.toml` declared `otel = ["opentelemetry-api>=1.43.0"]`. That
floor
was never a requirement of the code: it arrived as a side effect of a
routine
dependency bump (3d664ad, #7) that moved the dev pin, the extra's lower
bound
and the `extras-min` CI pin together. Git history shows the extra's
floor was
originally `>=1.20.0` at introduction — the bump silently raised a
compatibility statement while only intending to bump what we develop
against.

`OTelEventListener` only calls `metrics.get_meter`,
`Meter.create_histogram`
and `Meter.create_counter`, API that has been stable for years. Verified
locally: `tests/test_otel.py` passes unchanged against
`opentelemetry-api==1.20.0`.

The cost to adopters was real: `opentelemetry-distro`/SDK releases pin
the
whole OTel stack to one API version, so the stale floor forced anyone on
an
older distro to choose between upgrading their entire OTel stack and
dropping
`interlock-cb[otel]` — for a listener that would have worked fine.

## Changes

- Lower the `otel` extra floor back to `opentelemetry-api>=1.20.0` and
pin
`.github/workflows/ci.yml`'s `extras-min` job to the same version, so CI
  proves it on 3.11.
- Keep the `dependency-groups.dev` pin at the current version —
development
  continues against the latest.
- Document the rule in `CONTRIBUTING.md`: an extra's floor is a
compatibility
statement, not a dev pin, and a routine bump must never carry both
together.
- `CHANGELOG.md` entry under `[Unreleased]` → `Changed`.

## Extras floor audit

Checked git history for every other extra (`httpx`, `httpx2`, `fastapi`,
`redis`, `litestar`, `tenacity`, `requests`, `aiohttp`): each floor was
set
once at introduction (in the PR that added the integration) and has
never
been touched by a routine bump commit. None of them are equally
accidental.

## Checklist

- [x] Tests added or updated (suite stays at 100% coverage) — n/a, no
library
      code changed; `tests/test_otel.py` verified against the new floor
- [x] `uv run ruff format --check` and `uv run ruff check` pass
- [x] `uv run mypy`, `uv run pyright` and `uv run pyrefly check` pass —
n/a,
      no Python source changed
- [x] Docs updated (`docs/`) for user-facing changes — n/a, no `docs/`
page
      references the version number
- [x] `CHANGELOG.md` `[Unreleased]` updated
- [x] Commits follow Conventional Commits

## Related issues

Closes #138

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Changed

- Lower the `otel` extra compatibility floor to
`opentelemetry-api>=1.20.0`.
- Test `opentelemetry-api==1.20.0` in `extras-min` while retaining the
current development pin.
- Document compatibility floors and development pins in
`CONTRIBUTING.md`.
- Audit other extras and confirm that their floors are intentional.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant