From 284cb8fa70fc62ac3d13d9e7800eb2a22998a591 Mon Sep 17 00:00:00 2001 From: StevenK <> Date: Jun 13 2025 16:52:35 +0000 Subject: Update python-opentelemetry-sdk to version 1.33.1 / rev 11 via SR 1285359 https://build.opensuse.org/request/show/1285359 by user StevenK + anag_factory - Inject multibuild to avoid a build cycle. (bsc#1244507) --- diff --git a/.files b/.files index 0c35d94..0f3fe74 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 6f2f8b0..5b63f13 100644 --- a/.rev +++ b/.rev @@ -169,4 +169,12 @@ * Bump semantic conventions to 1.33.0</comment> <requestid>1280593</requestid> </revision> + <revision rev="11" vrev="2"> + <srcmd5>85868f903bbc23b99d779d4ce9b9694b</srcmd5> + <version>1.33.1</version> + <time>1749833016</time> + <user>anag_factory</user> + <comment>- Inject multibuild to avoid a build cycle. (bsc#1244507)</comment> + <requestid>1285359</requestid> + </revision> </revisionlist> diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..83bd4e9 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ +<multibuild> + <package>test</package> +</multibuild> diff --git a/python-opentelemetry-sdk.changes b/python-opentelemetry-sdk.changes index 6f3a5a9..6e1172b 100644 --- a/python-opentelemetry-sdk.changes +++ b/python-opentelemetry-sdk.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Jun 13 06:37:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com> + +- Inject multibuild to avoid a build cycle. (bsc#1244507) + +------------------------------------------------------------------- Mon May 26 07:38:34 UTC 2025 - Nico Krapp <nico.krapp@suse.com> - Update to 1.33.1 diff --git a/python-opentelemetry-sdk.spec b/python-opentelemetry-sdk.spec index 1d0032b..c41f6d1 100644 --- a/python-opentelemetry-sdk.spec +++ b/python-opentelemetry-sdk.spec @@ -16,23 +16,32 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif %{?sle15_python_module_pythons} -Name: python-opentelemetry-sdk +Name: python-opentelemetry-sdk%{psuffix} Version: 1.33.1 Release: 0 Summary: OpenTelemetry Python SDK License: Apache-2.0 URL: https://github.com/open-telemetry/opentelemetry-python Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-sdk/opentelemetry_sdk-%{version}.tar.gz -BuildRequires: %{python_module flaky} BuildRequires: %{python_module hatchling} -BuildRequires: %{python_module opentelemetry-api = %{version}} -BuildRequires: %{python_module opentelemetry-semantic-conventions = 0.54b1} -BuildRequires: %{python_module opentelemetry-test-utils = 0.54b1} BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +%if %{with test} +BuildRequires: %{python_module flaky} +BuildRequires: %{python_module opentelemetry-sdk = %{version}} +BuildRequires: %{python_module opentelemetry-test-utils = 0.54b1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module typing-extensions >= 3.7.4} -BuildRequires: %{python_module wheel} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-opentelemetry-api = %{version} @@ -51,17 +60,24 @@ OpenTelemetry Python SDK for the OpenTelemetry Project <https://opentelemetry.io %pyproject_wheel %install +%if !%{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %check +%if %{with test} rm -rvf tests/performance tests/trace/test_trace.py %pytest +%endif +%if !%{with test} %files %{python_files} %license LICENSE %doc README.rst +%dir %{python_sitelib}/opentelemetry %{python_sitelib}/opentelemetry/sdk %{python_sitelib}/opentelemetry_sdk-%{version}.dist-info +%endif %changelog