Skip to content

Commit f86d2fd

Browse files
Remove setuptools runtime dependency (#3372)
Co-authored-by: Diego Hurtado <[email protected]>
1 parent 7bb21f5 commit f86d2fd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
- Drop `setuptools` runtime requirement.
11+
([#3372](https://github.com/open-telemetry/opentelemetry-python/pull/3372))
1012
- Update the body type in the log
1113
([$3343](https://github.com/open-telemetry/opentelemetry-python/pull/3343))
1214
- Add max_scale option to Exponential Bucket Histogram Aggregation
1315
([#3323](https://github.com/open-telemetry/opentelemetry-python/pull/3323))
1416
- Use BoundedAttributes instead of raw dict to extract attributes from LogRecord
15-
([#3310](https://github.com/open-telemetry/opentelemetry-python/pull/3310))
17+
([#3310](https://github.com/open-telemetry/opentelemetry-python/pull/3310))
1618
- Support dropped_attributes_count in LogRecord and exporters
1719
([#3351](https://github.com/open-telemetry/opentelemetry-python/pull/3351))
1820
- Add unit to view instrument selection criteria

opentelemetry-api/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ classifiers = [
2626
]
2727
dependencies = [
2828
"Deprecated >= 1.2.6",
29-
"setuptools >= 16.0",
3029
# FIXME This should be able to be removed after 3.12 is released if there is a reliable API
3130
# in importlib.metadata.
3231
"importlib-metadata ~= 6.0",

opentelemetry-api/src/opentelemetry/_logs/_internal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_logger(
143143
144144
version: Optional. The version string of the
145145
instrumenting library. Usually this should be the same as
146-
``pkg_resources.get_distribution(instrumenting_library_name).version``.
146+
``importlib.metadata.version(instrumenting_library_name)``.
147147
148148
schema_url: Optional. Specifies the Schema URL of the emitted telemetry.
149149
"""

opentelemetry-sdk/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ classifiers = [
2828
dependencies = [
2929
"opentelemetry-api == 1.19.0.dev",
3030
"opentelemetry-semantic-conventions == 0.40b0.dev",
31-
"setuptools >= 16.0",
3231
"typing-extensions >= 3.7.4",
3332
]
3433

0 commit comments

Comments
 (0)