Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .changelog/4891.removed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`opentelemetry-instrumentation-sqlalchemy`: remove the runtime `packaging` dependency in favor of the internal PEP 440 implementation in `opentelemetry-instrumentation`
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.66b0.dev",
"opentelemetry-semantic-conventions == 0.66b0.dev",
"packaging >= 21.0",
"wrapt >= 1.11.2",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,12 @@
from typing import Collection

import sqlalchemy
from packaging.version import parse as parse_version
from sqlalchemy.engine.base import Engine
from wrapt import wrap_function_wrapper as _w

from opentelemetry.instrumentation._packaging.version import (
parse as parse_version,
)
from opentelemetry.instrumentation._semconv import (
_get_schema_url_for_signal_types,
_OpenTelemetrySemanticConventionStability,
Expand Down
Loading