Skip to content

Commit a298ee5

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 a298ee5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v1.5.0-0.24b0...HEAD)
99
- `opentelemetry-sdk-extension-aws` Release AWS Python SDK Extension as 1.0.0
1010
([#667](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/667))
11+
- `opentelemetry-instrumentation-sqlalchemy` Added `packaging` dependency
12+
([#713](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/713))
1113

1214
### Added
1315
- `opentelemetry-instrumentation-elasticsearch` Added `response_hook` and `request_hook` callbacks

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)