diff --git a/opentelemetry-api/pyproject.toml b/opentelemetry-api/pyproject.toml index d03e870dfbf..adf9512cf04 100644 --- a/opentelemetry-api/pyproject.toml +++ b/opentelemetry-api/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "Deprecated >= 1.2.6", # FIXME This should be able to be removed after 3.12 is released if there is a reliable API # in importlib.metadata. - "importlib-metadata >= 6.0", + "importlib-metadata >= 6.0, < 7.0", ] dynamic = [ "version",