Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-coverage"

Wed Feb 11 18:47:15 2026 rev:73 rq:1331417 version:7.10.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes  
2025-10-21 11:15:38.756840156 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-coverage.new.1670/python-coverage.changes    
    2026-02-11 18:47:35.426209929 +0100
@@ -1,0 +2,5 @@
+Thu Feb  5 11:16:05 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add upstream string.patch to fix test failure on Python 3.14
+
+-------------------------------------------------------------------

New:
----
  string.patch

----------(New B)----------
  New:
- Add upstream string.patch to fix test failure on Python 3.14
----------(New E)----------

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

Other differences:
------------------
++++++ python-coverage.spec ++++++
--- /var/tmp/diff_new_pack.sHLzRa/_old  2026-02-11 18:47:36.342248398 +0100
+++ /var/tmp/diff_new_pack.sHLzRa/_new  2026-02-11 18:47:36.346248566 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-coverage
 #
-# 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
@@ -39,6 +39,8 @@
 License:        Apache-2.0
 URL:            https://github.com/nedbat/coveragepy
 Source:         
https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 
https://github.com/coveragepy/coveragepy/commit/cf95edab0c3be47ab934f0425f12743745dd2da5
 test: a Python error message changed slightly
+Patch0:         string.patch
 BuildRequires:  %{python_module devel >= 3.9}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}

++++++ string.patch ++++++
>From cf95edab0c3be47ab934f0425f12743745dd2da5 Mon Sep 17 00:00:00 2001
From: Ned Batchelder <[email protected]>
Date: Tue, 21 Oct 2025 06:30:12 -0400
Subject: [PATCH] test: a Python error message changed slightly

---
 tests/test_execfile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_execfile.py b/tests/test_execfile.py
index ab39b70f4..2cc4e55f8 100644
--- a/tests/test_execfile.py
+++ b/tests/test_execfile.py
@@ -284,7 +284,7 @@ def test_running_py_from_binary(self) -> None:
         path = python_reported_file("binary")
         msg = (
             re.escape(f"Couldn't run '{path}' as Python code: ")
-            + r"(ValueError|SyntaxError): source code string cannot contain 
null bytes"
+            + r"(ValueError|SyntaxError): source code (string )?cannot contain 
null bytes"
         )
         with pytest.raises(Exception, match=msg):
             run_python_file([bf])

Reply via email to