Skip to content

Commit 4353f26

Browse files
committed
Replace more pkg_resources
1 parent 82d2076 commit 4353f26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opentelemetry-instrumentation/src/opentelemetry/instrumentation/distro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from abc import ABC, abstractmethod
2121
from logging import getLogger
2222

23-
from pkg_resources import EntryPoint
23+
from importlib_metadata import EntryPoint
2424

2525
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
2626

opentelemetry-instrumentation/tests/test_distro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from unittest import TestCase
1717

18-
from pkg_resources import EntryPoint
18+
from importlib_metadata import EntryPoint
1919

2020
from opentelemetry.instrumentation.distro import BaseDistro
2121
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor

0 commit comments

Comments
 (0)