Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d3f3310
feat: replace pkg_resource for importlib
Rodrigo-Novas Feb 14, 2024
e816ddf
chore: add entry on changelog
Rodrigo-Novas Feb 14, 2024
502621a
feat: update to 132
Rodrigo-Novas Feb 14, 2024
95fbf3a
feat: add dist logic and version conflict
Rodrigo-Novas Feb 16, 2024
8af1065
feat: add requirements solution
Rodrigo-Novas Feb 20, 2024
5540b6a
feat: update version importlib
Rodrigo-Novas Feb 26, 2024
49dacbe
refactor: add Union to collection type
Rodrigo-Novas Aug 27, 2024
0b5d3ea
refactor: add value and group on tests
Rodrigo-Novas Aug 27, 2024
1e16fe3
feat: execute tox
Rodrigo-Novas Aug 27, 2024
97e8e61
chore: change to unreleased side
Rodrigo-Novas Aug 30, 2024
9937aa6
chore: change issue number
Rodrigo-Novas Aug 30, 2024
14f6096
Fix changelog
ocelotl Sep 3, 2024
c76e8bb
Update core SHA in tox.ini
ocelotl Sep 4, 2024
5f20562
wop
ocelotl Sep 4, 2024
33c3cf2
Update core repo sha again
ocelotl Sep 5, 2024
a7fd4b0
Use opentelemertry importlib metadata
ocelotl Sep 5, 2024
f07ba43
Remove importlib-metadata from test requirements
ocelotl Sep 5, 2024
de36c6f
Remove importlib-metadata dependency
ocelotl Sep 5, 2024
22939e7
Back to main core repo
xrmx Sep 13, 2024
0418001
opentelemetry-distro: stop using pkg_resources
xrmx Sep 13, 2024
7dec2d6
opentelemetry-instrumentation-wsgi: try stop using pkg_resources
xrmx Sep 13, 2024
80ed8a9
opentelemetry-instrumentation-fastapi: stop using pkg_resources
xrmx Sep 13, 2024
2438e06
opentelemetry-instrumentation-aiohttp-client: stop using pkg_resources
xrmx Sep 13, 2024
e7f3484
opentelemetry-instrumentation: fix some tests
xrmx Sep 13, 2024
bfbc439
opentelemetry-instrumentation: fix formatting
xrmx Sep 13, 2024
4abf72d
opentelemetry-instrumentation-flask: fix formatting
xrmx Sep 13, 2024
c4a0d53
opentelemetry-instrumentation: fix another test
xrmx Sep 13, 2024
3f339c3
fix flask
xrmx Sep 13, 2024
1ff0f6d
apply Arnatious cleanup for entry points dist cache
xrmx Sep 13, 2024
63985da
Fix previous commit
xrmx Sep 13, 2024
072a806
Fixup last commit
xrmx Sep 13, 2024
dbb503a
Refactor fastapi tests
jeremydvoss Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `opentelemetry-instrumentation-fastapi` Add autoinstrumentation mechanism tests.
([#2860](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2860))

### Breaking changes

- Deprecation of pkg_resource in favor of importlib.metadata
([#2181](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2181))

## Version 1.27.0/0.48b0 ()

### Added

- `opentelemetry-instrumentation-kafka-python` Instrument temporary fork, kafka-python-ng
inside kafka-python's instrumentation
- `opentelemetry-instrumentation-kafka-python` Instrument temporary fork, kafka-python-ng inside kafka-python's instrumentation
([#2537](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2537))
- `opentelemetry-instrumentation-asgi`, `opentelemetry-instrumentation-fastapi` Add ability to disable internal HTTP send and receive spans
([#2802](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2802))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ cramjam==2.1.0; platform_python_implementation == "PyPy"
cramjam==2.8.1; platform_python_implementation != "PyPy"
Deprecated==1.2.14
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
flaky==3.7.0
importlib-metadata==6.11.0
iniconfig==2.0.0
markdown-it-py==3.0.0
mdurl==0.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ aiormq==6.2.3
asgiref==3.8.1
Deprecated==1.2.14
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
multidict==6.0.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ aiormq==6.6.4
asgiref==3.8.1
Deprecated==1.2.14
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
multidict==6.0.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ aiormq==6.7.1
asgiref==3.8.1
Deprecated==1.2.14
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
multidict==6.0.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ aiormq==6.8.0
asgiref==3.8.1
Deprecated==1.2.14
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
multidict==6.0.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Flask==3.0.2
frozenlist==1.4.1
http_server_mock==1.7
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
itsdangerous==2.1.2
Jinja2==3.1.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import aiohttp.test_utils
import yarl
from http_server_mock import HttpServerMock
from pkg_resources import iter_entry_points

from opentelemetry import trace as trace_api
from opentelemetry.instrumentation import aiohttp_client
Expand All @@ -47,6 +46,7 @@
from opentelemetry.semconv.trace import SpanAttributes
from opentelemetry.test.test_base import TestBase
from opentelemetry.trace import Span, StatusCode
from opentelemetry.util._importlib_metadata import entry_points


def run_with_test_server(
Expand Down Expand Up @@ -886,9 +886,9 @@ def response_hook(

class TestLoadingAioHttpInstrumentor(unittest.TestCase):
def test_loading_instrumentor(self):
entry_points = iter_entry_points(
"opentelemetry_instrumentor", "aiohttp-client"
(entry_point,) = entry_points(
group="opentelemetry_instrumentor", name="aiohttp-client"
)

instrumentor = next(entry_points).load()()
instrumentor = entry_point.load()()
self.assertIsInstance(instrumentor, AioHttpClientInstrumentor)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ async-timeout==4.0.3
Deprecated==1.2.14
frozenlist==1.4.1
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
multidict==6.0.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ aiopg==1.4.0
asgiref==3.8.1
async-timeout==4.0.3
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.8.1
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.8.1
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.8.1
async-timeout==4.0.3
asyncpg==0.29.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.8.1
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ cryptography==42.0.5
Deprecated==1.2.14
docker==7.0.0
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
Jinja2==3.1.4
jmespath==1.0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.8.1
boto3==1.34.44
botocore==1.34.44
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
jmespath==1.0.1
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ cryptography==42.0.5
Deprecated==1.2.14
docker==7.0.0
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
Jinja2==3.1.4
jmespath==1.0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ cassandra-driver==3.29.0
click==8.1.7
Deprecated==1.2.14
geomet==0.2.1.post1
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.3.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
kombu==5.3.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.3.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
kombu==5.3.5
packaging==24.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
confluent-kafka==2.4.0
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
asgiref==3.8.1
Deprecated==1.2.14
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
Django==2.2.28
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
Django==3.2.25
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.8.1
backports.zoneinfo==0.2.1
Deprecated==1.2.14
Django==4.2.15
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
Django==4.2.15
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.8.1
Deprecated==1.2.14
elasticsearch==6.8.2
elasticsearch-dsl==6.4.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ asgiref==3.8.1
Deprecated==1.2.14
elasticsearch==7.17.9
elasticsearch-dsl==7.4.1
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Deprecated==1.2.14
elasticsearch==8.13.1
elasticsearch-dsl==8.13.1
elastic-transport==8.13.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
falcon==1.4.1
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
falcon==2.0.0
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
asgiref==3.8.1
Deprecated==1.2.14
falcon==3.1.1
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ h11==0.14.0
httpcore==1.0.4
httpx==0.27.0
idna==3.7
importlib-metadata==6.11.0
iniconfig==2.0.0
packaging==24.0
pluggy==1.5.0
Expand Down
Loading