From 46ce50cb6ab511ab3a478f3b73cd2a083223b57bd5417eb889f91c0013ef110b Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 8 Jan 2025 12:25:09 +0000 Subject: [PATCH] Accepting request 1235908 from home:glaubitz:branches:devel:languages:python - Update to 1.29.0 * Fix crash exporting a log record with None body * Fix metrics export with exemplar and no context and filtering observable instruments * Fix recursion error with sdk disabled and handler added to root logger * sdk: setup EventLogger when OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED is set * api: fix logging of duplicate EventLogger setup warning * sdk: fix setting of process owner in ProcessResourceDetector * sdk: fix serialization of logs severity_number field to int * Remove `TestBase.assertEqualSpanInstrumentationInfo` method, use `assertEqualSpanInstrumentationScope` instead * sdk: instantiate lazily `ExemplarBucket`s in `ExemplarReservoir`s * semantic-conventions: Bump to 1.29.0 - from version 1.28.0 * Removed superfluous py.typed markers and added them where they were missing * Include metric info in encoding exceptions * sdk: Add support for log formatting * sdk: Add Host resource detector * sdk: Implementation of exemplars * Implement events sdk * Update semantic conventions to version 1.28.0 * Add support to protobuf 5+ and drop support to protobuf 3 and 4 * Update environment variable descriptions to match signal * Record logger name as the instrumentation scope name * Fix memory leak in exporter and reader * Drop `OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION` environment variable * Improve compatibility with other logging libraries that override `LogRecord.getMessage()` in order to customize message formatting - Update BuildRequires and Requires from pyproject.toml OBS-URL: https://build.opensuse.org/request/show/1235908 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-sdk?expand=0&rev=18 --- opentelemetry_sdk-1.27.0.tar.gz | 3 --- opentelemetry_sdk-1.29.0.tar.gz | 3 +++ python-opentelemetry-sdk.changes | 32 ++++++++++++++++++++++++++++++++ python-opentelemetry-sdk.spec | 10 +++++----- 4 files changed, 40 insertions(+), 8 deletions(-) delete mode 100644 opentelemetry_sdk-1.27.0.tar.gz create mode 100644 opentelemetry_sdk-1.29.0.tar.gz diff --git a/opentelemetry_sdk-1.27.0.tar.gz b/opentelemetry_sdk-1.27.0.tar.gz deleted file mode 100644 index fbcb034..0000000 --- a/opentelemetry_sdk-1.27.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d525017dea0ccce9ba4e0245100ec46ecdc043f2d7b8315d56b19aff0904fa6f -size 145019 diff --git a/opentelemetry_sdk-1.29.0.tar.gz b/opentelemetry_sdk-1.29.0.tar.gz new file mode 100644 index 0000000..78b1973 --- /dev/null +++ b/opentelemetry_sdk-1.29.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0787ce6aade6ab84315302e72bd7a7f2f014b0fb1b7c3295b88afe014ed0643 +size 157229 diff --git a/python-opentelemetry-sdk.changes b/python-opentelemetry-sdk.changes index 634cbec..8226cca 100644 --- a/python-opentelemetry-sdk.changes +++ b/python-opentelemetry-sdk.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Wed Jan 8 11:53:00 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.29.0 + * Fix crash exporting a log record with None body + * Fix metrics export with exemplar and no context and filtering observable instruments + * Fix recursion error with sdk disabled and handler added to root logger + * sdk: setup EventLogger when OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED is set + * api: fix logging of duplicate EventLogger setup warning + * sdk: fix setting of process owner in ProcessResourceDetector + * sdk: fix serialization of logs severity_number field to int + * Remove `TestBase.assertEqualSpanInstrumentationInfo` method, + use `assertEqualSpanInstrumentationScope` instead + * sdk: instantiate lazily `ExemplarBucket`s in `ExemplarReservoir`s + * semantic-conventions: Bump to 1.29.0 +- from version 1.28.0 + * Removed superfluous py.typed markers and added them where they were missing + * Include metric info in encoding exceptions + * sdk: Add support for log formatting + * sdk: Add Host resource detector + * sdk: Implementation of exemplars + * Implement events sdk + * Update semantic conventions to version 1.28.0 + * Add support to protobuf 5+ and drop support to protobuf 3 and 4 + * Update environment variable descriptions to match signal + * Record logger name as the instrumentation scope name + * Fix memory leak in exporter and reader + * Drop `OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION` environment variable + * Improve compatibility with other logging libraries that override + `LogRecord.getMessage()` in order to customize message formatting +- Update BuildRequires and Requires from pyproject.toml + ------------------------------------------------------------------- Mon Sep 2 08:02:26 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-opentelemetry-sdk.spec b/python-opentelemetry-sdk.spec index ec8eba9..8479cf6 100644 --- a/python-opentelemetry-sdk.spec +++ b/python-opentelemetry-sdk.spec @@ -1,7 +1,7 @@ # # spec file for package python-opentelemetry-sdk # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-opentelemetry-sdk -Version: 1.27.0 +Version: 1.29.0 Release: 0 Summary: OpenTelemetry Python SDK License: Apache-2.0 @@ -27,8 +27,8 @@ Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-s BuildRequires: %{python_module flaky} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module opentelemetry-api == %{version}} -BuildRequires: %{python_module opentelemetry-semantic-conventions == 0.48b0} -BuildRequires: %{python_module opentelemetry-test-utils == 0.48b0} +BuildRequires: %{python_module opentelemetry-semantic-conventions == 0.50b0} +BuildRequires: %{python_module opentelemetry-test-utils == 0.50b0} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module typing-extensions >= 3.7.4} @@ -36,7 +36,7 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-opentelemetry-api == %{version} -Requires: python-opentelemetry-semantic-conventions == 0.48b0 +Requires: python-opentelemetry-semantic-conventions == 0.50b0 Requires: python-typing-extensions >= 3.7.4 BuildArch: noarch %python_subpackages