Skip to content

opentelemetry-api: fix SelectableGroups deprecation warning#5250

Merged
aabmass merged 4 commits into
open-telemetry:mainfrom
herin049:fix/selectable-groups-warning
Jun 5, 2026
Merged

opentelemetry-api: fix SelectableGroups deprecation warning#5250
aabmass merged 4 commits into
open-telemetry:mainfrom
herin049:fix/selectable-groups-warning

Conversation

@herin049

Copy link
Copy Markdown
Contributor

Description

Fixes bug where deprecation warnings are raised when calling _as_entry_points on Python versions 3.10/3.11.

Fixes #5231

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

uv run tox -e py310-test-opentelemetry-api

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@herin049
herin049 requested a review from a team as a code owner May 26, 2026 23:52
@herin049 herin049 changed the title fix SelectableGroups deprecation warning opentelemetry-api: fix SelectableGroups deprecation warning May 26, 2026
@herin049 herin049 moved this to Ready for review in Python PR digest May 26, 2026
Comment thread opentelemetry-api/src/opentelemetry/util/_importlib_metadata.py Outdated
@aabmass aabmass moved this from Ready for review to Approved PRs that need fixes in Python PR digest Jun 5, 2026
@aabmass

aabmass commented Jun 5, 2026

Copy link
Copy Markdown
Member

FYI I turned on auto merge for once all conversations are resolved

@aabmass
aabmass enabled auto-merge June 5, 2026 20:51
@herin049 herin049 moved this from Approved PRs that need fixes to Ready for merge in Python PR digest Jun 5, 2026
@aabmass
aabmass added this pull request to the merge queue Jun 5, 2026
Merged via the queue into open-telemetry:main with commit 419c463 Jun 5, 2026
479 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for merge to Done in Python PR digest Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Importing opentelemetry.context issues a warning in Python 3.10 and 3.11

2 participants