Skip to content

Commit 4d0903b

Browse files
committed
Fix missing 'packaging' requirement
The `sqlalchemy` instrumentation uses the `packaging` library to parse the `sqlalchemy` SemVer. `packaging` is not part of the standard library and should be included in the `setup.cfg` file to avoid: ``` ModuleNotFoundError: No module named 'packaging' ```
1 parent 3b5071b commit 4d0903b

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-sqlalchemy

1 file changed

+1
-0
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-sqlalchemy/setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ install_requires =
4141
opentelemetry-api ~= 1.3
4242
opentelemetry-semantic-conventions == 0.24b0
4343
opentelemetry-instrumentation == 0.24b0
44+
packaging >= 21.0
4445
wrapt >= 1.11.2
4546

4647
[options.extras_require]

0 commit comments

Comments
 (0)