open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.67k stars 570 forks source link

opentelemetry-api: allow importlib-metadata up to 8.0 #4007

Closed xrmx closed 2 days ago

xrmx commented 2 days ago

Description

Allow importlib-metadata 8.0.0 too

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Tested with the following patch applied:

diff --git a/opentelemetry-api/test-requirements.txt b/opentelemetry-api/test-requirements.txt
index 3c84695a..b7f263c8 100644
--- a/opentelemetry-api/test-requirements.txt
+++ b/opentelemetry-api/test-requirements.txt
@@ -1,7 +1,7 @@
 asgiref==3.7.2
 Deprecated==1.2.14
 flaky==3.7.0
-importlib-metadata==6.11.0
+importlib-metadata==8.0.0
 iniconfig==2.0.0
 packaging==24.0
 pluggy==1.5.0

Does This PR Require a Contrib Repo Change?

Checklist: