Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-graphviz for openSUSE:Factory
checked in at 2025-09-11 14:38:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-graphviz (Old)
and /work/SRC/openSUSE:Factory/.python-graphviz.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-graphviz"
Thu Sep 11 14:38:07 2025 rev:19 rq:1303558 version:0.21
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-graphviz/python-graphviz.changes
2025-07-03 12:10:48.566571066 +0200
+++
/work/SRC/openSUSE:Factory/.python-graphviz.new.1977/python-graphviz.changes
2025-09-11 14:39:08.043272699 +0200
@@ -1,0 +2,5 @@
+Tue Sep 9 14:31:30 UTC 2025 - Markéta Machová <[email protected]>
+
+- Add py314.patch to fix tests with Python 3.14
+
+-------------------------------------------------------------------
New:
----
py314.patch
----------(New B)----------
New:
- Add py314.patch to fix tests with Python 3.14
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-graphviz.spec ++++++
--- /var/tmp/diff_new_pack.OtLVNA/_old 2025-09-11 14:39:08.779303826 +0200
+++ /var/tmp/diff_new_pack.OtLVNA/_new 2025-09-11 14:39:08.783303995 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-graphviz
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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
@@ -24,6 +24,8 @@
License: MIT
URL: https://github.com/xflr6/graphviz
Source:
https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM https://github.com/xflr6/graphviz/pull/238 fix tests on
Python 3.14
+Patch0: py314.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pip}
++++++ py314.patch ++++++
Index: graphviz-0.21/tests/test_quoting.py
===================================================================
--- graphviz-0.21.orig/tests/test_quoting.py
+++ graphviz-0.21/tests/test_quoting.py
@@ -17,7 +17,7 @@ def test_deprecated_escape(recwarn, char
assert len(recwarn) == 1
w = recwarn.pop(DeprecationWarning if sys.version_info < (3, 12)
else SyntaxWarning)
- assert str(w.message).startswith('invalid escape sequence')
+ assert 'invalid escape sequence' in str(w.message)
assert escape == f'\\{char}'
assert quoting.quote(escape) == f'"\\{char}"'