Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-opentelemetry-sdk for 
openSUSE:Factory checked in at 2026-02-11 18:47:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opentelemetry-sdk (Old)
 and      /work/SRC/openSUSE:Factory/.python-opentelemetry-sdk.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-opentelemetry-sdk"

Wed Feb 11 18:47:31 2026 rev:17 rq:1332273 version:1.39.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-opentelemetry-sdk/python-opentelemetry-sdk.changes
        2026-01-06 17:41:14.737423969 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-opentelemetry-sdk.new.1670/python-opentelemetry-sdk.changes
      2026-02-11 18:47:56.923112683 +0100
@@ -1,0 +2,5 @@
+Tue Feb 10 09:42:02 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add python314.patch to fix tests with Python 3.14
+
+-------------------------------------------------------------------

New:
----
  python314.patch

----------(New B)----------
  New:
- Add python314.patch to fix tests with Python 3.14
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-opentelemetry-sdk.spec ++++++
--- /var/tmp/diff_new_pack.ybnPZs/_old  2026-02-11 18:47:58.259168790 +0100
+++ /var/tmp/diff_new_pack.ybnPZs/_new  2026-02-11 18:47:58.263168958 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-opentelemetry-sdk
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -45,6 +45,8 @@
 %endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+# PATCH-FIX-UPSTREAM cherry-pick from 
https://github.com/open-telemetry/opentelemetry-python/pull/4798 add python 
3.14 support
+Patch0:         python314.patch
 Requires:       python-opentelemetry-api = %{version}
 Requires:       python-opentelemetry-semantic-conventions = 0.60b0
 Requires:       python-typing-extensions >= 3.7.4
@@ -69,9 +71,7 @@
 %check
 %if %{with test}
 rm -rvf tests/performance tests/trace/test_trace.py
-# gh#open-telemetry/opentelemetry-python#4630
-skipttest="test_simple_log_record_processor_shutdown"
-%pytest -k "not ($skipttest)"
+%pytest
 %endif
 
 %if !%{with test}

++++++ python314.patch ++++++
>From 9645f38e4d552b5b1799264aa1621ab78b916c59 Mon Sep 17 00:00:00 2001
From: emdneto <[email protected]>
Date: Thu, 6 Nov 2025 10:32:01 -0300
Subject: [PATCH] fix opentelemetry-sdk CI

---
 opentelemetry-sdk/tests/context/test_asyncio.py | 4 +++-
 opentelemetry-sdk/tests/logs/test_export.py     | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/context/test_asyncio.py b/tests/context/test_asyncio.py
index 7c5288a274e..2c5b27a135b 100644
--- a/tests/context/test_asyncio.py
+++ b/tests/context/test_asyncio.py
@@ -60,10 +60,12 @@ def setUp(self):
         self.memory_exporter = InMemorySpanExporter()
         span_processor = export.SimpleSpanProcessor(self.memory_exporter)
         self.tracer_provider.add_span_processor(span_processor)
-        self.loop = asyncio.get_event_loop()
+        self.loop = asyncio.new_event_loop()
+        asyncio.set_event_loop(self.loop)
 
     def tearDown(self):
         context.detach(self.token)
+        self.loop.close()
 
     @patch(
         "opentelemetry.context._RUNTIME_CONTEXT", ContextVarsRuntimeContext()
diff --git a/tests/logs/test_export.py b/tests/logs/test_export.py
index 7570ed3a74f..4f65ab6b56d 100644
--- a/tests/logs/test_export.py
+++ b/tests/logs/test_export.py
@@ -17,7 +17,9 @@
 import os
 import time
 import unittest
-from concurrent.futures import ThreadPoolExecutor
+from concurrent.futures import (
+    ThreadPoolExecutor,  # pylint: disable=no-name-in-module
+)
 from sys import version_info
 from unittest.mock import Mock, patch
 

Reply via email to