Skip to content

remove obsolete dependency on importlib-metadata. All required APIs are already available in PSL importlib.metadata as for python>=3.10#5196

Open
masariello wants to merge 2 commits into
open-telemetry:mainfrom
masariello:main
Open

remove obsolete dependency on importlib-metadata. All required APIs are already available in PSL importlib.metadata as for python>=3.10#5196
masariello wants to merge 2 commits into
open-telemetry:mainfrom
masariello:main

Conversation

@masariello
Copy link
Copy Markdown

remove obsolete dependency on importlib-metadata. All required APIs as available in importlib.metadata as for python>=3.10

Description

remove obsolete dependency on importlib-metadata. All required APIs as available in importlib.metadata as for python>=3.10
Fixes # (issue)

all types exposed by opentelemetry.util._importlib_metadata are available as of minimum supported python 3.10 std lib

the dependency on importlib-metadata is already falling behind and starting to cause environment solving issues with 3.11+

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?

The affected module is already tested in opentelemetry-api/tests/util/test__importlib_metadata.py

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

…s available in importlib.metadata as for python>=3.10
@masariello masariello requested a review from a team as a code owner May 11, 2026 15:29
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented May 11, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@masariello masariello changed the title remove obsolete dependency on importlib-metadata. All required APIs as available in importlib.metadata as for python>=3.10 remove obsolete dependency on importlib-metadata. All required APIs are already available in PSL importlib.metadata as for python>=3.10 May 11, 2026
@MikeGoldsmith
Copy link
Copy Markdown
Member

Hi @masariello - please sign the CLA. We cannot accept a contribution until you sign it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants