From d0c1e1a851b16da6e3b69be6099bdf9b4a99ac318c56f0fb400fead2bd47cfe4 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 8 Jan 2025 12:25:40 +0000 Subject: [PATCH] Accepting request 1235910 from home:glaubitz:branches:devel:languages:python - Update to 0.50b0 * 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 0.49b0 * 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/1235910 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opentelemetry-test-utils?expand=0&rev=10 --- opentelemetry_test_utils-0.48b0.tar.gz | 3 --- opentelemetry_test_utils-0.50b0.tar.gz | 3 +++ python-opentelemetry-test-utils.changes | 32 +++++++++++++++++++++++++ python-opentelemetry-test-utils.spec | 8 +++---- 4 files changed, 39 insertions(+), 7 deletions(-) delete mode 100644 opentelemetry_test_utils-0.48b0.tar.gz create mode 100644 opentelemetry_test_utils-0.50b0.tar.gz diff --git a/opentelemetry_test_utils-0.48b0.tar.gz b/opentelemetry_test_utils-0.48b0.tar.gz deleted file mode 100644 index 6b8f8c1..0000000 --- a/opentelemetry_test_utils-0.48b0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65780873544a6041700a7f225a95525330135699ba14db9732e74b45ff73b111 -size 8490 diff --git a/opentelemetry_test_utils-0.50b0.tar.gz b/opentelemetry_test_utils-0.50b0.tar.gz new file mode 100644 index 0000000..8fd1e4b --- /dev/null +++ b/opentelemetry_test_utils-0.50b0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:798cca0355117acc433888d33a84b58358bc41ec2da8e63865165b5b76755702 +size 8488 diff --git a/python-opentelemetry-test-utils.changes b/python-opentelemetry-test-utils.changes index 114aadd..b92ebf9 100644 --- a/python-opentelemetry-test-utils.changes +++ b/python-opentelemetry-test-utils.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Wed Jan 8 11:53:50 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.50b0 + * 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 0.49b0 + * 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:12:47 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-opentelemetry-test-utils.spec b/python-opentelemetry-test-utils.spec index 704deb0..0409016 100644 --- a/python-opentelemetry-test-utils.spec +++ b/python-opentelemetry-test-utils.spec @@ -1,7 +1,7 @@ # # spec file for package python-opentelemetry-test-utils # -# 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-test-utils -Version: 0.48b0 +Version: 0.50b0 Release: 0 Summary: Test utilities for OpenTelemetry unit tests License: Apache-2.0 @@ -26,12 +26,12 @@ URL: https://github.com/open-telemetry/opentelemetry-python/ Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-test-utils/opentelemetry_test_utils-%{version}.tar.gz BuildRequires: %{python_module asgiref >= 3.0} BuildRequires: %{python_module hatchling} -BuildRequires: %{python_module opentelemetry-api == 1.27.0} +BuildRequires: %{python_module opentelemetry-api == 1.29.0} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-asgiref -Requires: python-opentelemetry-api == 1.27.0 +Requires: python-opentelemetry-api == 1.29.0 BuildArch: noarch %python_subpackages