Skip to content

opentelemetry-api: fix SelectableGroups deprecation warning#5250

Open
herin049 wants to merge 2 commits into
open-telemetry:mainfrom
herin049:fix/selectable-groups-warning
Open

opentelemetry-api: fix SelectableGroups deprecation warning#5250
herin049 wants to merge 2 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

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

1 participant