chore: bump opentelemetry-api from 1.42.1 to 1.43.0 - #7
Merged
Conversation
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>
This was referenced Aug 7, 2026
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 -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps opentelemetry-api from 1.42.1 to 1.43.0.
Changelog
Sourced from opentelemetry-api's changelog.
... (truncated)
Commits
fcbbeb8[release/v1.43.x-0.64bx] Prepare release 1.43.0/0.64b0 (#5349)b40dcbcopentelemetry-exporter-http-transport: enable entry-point loading of transpor...10e8577update to Sphinx to 8.1.3 in order to support Python 3.14 (#5278)6ac6895docs: add declarative configuration guide and example (#5309)13ad4d5opentelemetry-api: normalize empty environment propagation names to "_" in En...6a0ab84opentelemetry-sdk: merge doesn't need a copy, dict already does this (#5326)ac7a3dffeat(config): support OTEL_CONFIG_FILE in the SDK configurator (#5271)fa75422Add support for composite samplers in declarative config (#5201)43f079fUpdate json and proto encoder to always accept None type, cleanup code / test...53c9d96chore: cleanup typo found in test (#5324)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)