Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ansi2html for
openSUSE:Factory checked in at 2026-09-18 22:07:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ansi2html (Old)
and /work/SRC/openSUSE:Factory/.python-ansi2html.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ansi2html"
Fri Sep 18 22:07:24 2026 rev:11 rq:1378748 version:1.9.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ansi2html/python-ansi2html.changes
2025-06-18 19:42:04.311689868 +0200
+++
/work/SRC/openSUSE:Factory/.python-ansi2html.new.383539/python-ansi2html.changes
2026-09-18 22:08:22.205199040 +0200
@@ -1,0 +2,12 @@
+Fri Sep 18 06:37:36 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.9.5:
+ * truecolor: only add each color once
+ * Remove misleading license entry from packaging metadata
+ * Support alive Python versions
+ * CVE-2026-92973: osc8: ensure proper escaping (bsc#1281118)
+ * chore: Get rid of pkg_resources
+- Switch to using the pypi tarball.
+- Refresh patch opensuse-test.patch
+
+-------------------------------------------------------------------
Old:
----
v1.9.2.tar.gz
New:
----
ansi2html-1.9.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ansi2html.spec ++++++
--- /var/tmp/diff_new_pack.dhr398/_old 2026-09-18 22:08:23.044234204 +0200
+++ /var/tmp/diff_new_pack.dhr398/_new 2026-09-18 22:08:23.048234372 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-ansi2html
#
-# Copyright (c) 2025 SUSE LLC
+# 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
@@ -19,20 +19,21 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ansi2html
-Version: 1.9.2
+Version: 1.9.5
Release: 0
Summary: Python module to convert text with ANSI color codes to HTML or
LaTeX
License: LGPL-3.0-or-later
-Group: Development/Languages/Python
URL: https://github.com/pycontribs/ansi2html/
-Source:
https://github.com/pycontribs/ansi2html/archive/v%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/a/ansi2html/ansi2html-%{version}.tar.gz
# PATCH-FIX-OPENSUSE opensuse-test.patch bsc#[0-9]+ [email protected]
# Make tests work with versioned executables before alts kick in
# If any other test fails, because the executable is not
# "ansi2html", replace it with self.cmd_exe
Patch0: opensuse-test.patch
+BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
@@ -61,8 +62,6 @@
%python_clone -a %{buildroot}%{_bindir}/ansi2html
%check
-# https://github.com/pycontribs/ansi2html/issues/169
-sed -i 's:from mock:from unittest.mock:' tests/test_ansi2html.py
export PATH=$PATH:%{buildroot}%{_bindir}
# ansi2html not available (update alternatives); solvable
# but it runs just ansi2html --version
@@ -75,6 +74,6 @@
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/ansi2html
-%{python_sitelib}/ansi2html/
-%{python_sitelib}/ansi2html-*.dist-info/
+%{python_sitelib}/ansi2html
+%{python_sitelib}/ansi2html-%{version}.dist-info
++++++ opensuse-test.patch ++++++
--- /var/tmp/diff_new_pack.dhr398/_old 2026-09-18 22:08:23.098236468 +0200
+++ /var/tmp/diff_new_pack.dhr398/_new 2026-09-18 22:08:23.104236719 +0200
@@ -2,11 +2,11 @@
tests/test_ansi2html.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
-Index: ansi2html-1.9.2/tests/test_ansi2html.py
+Index: ansi2html-1.9.5/tests/test_ansi2html.py
===================================================================
---- ansi2html-1.9.2.orig/tests/test_ansi2html.py 2024-06-22
19:22:24.000000000 +0200
-+++ ansi2html-1.9.2/tests/test_ansi2html.py 2025-06-18 16:25:45.121652936
+0200
-@@ -50,6 +50,7 @@
+--- ansi2html-1.9.5.orig/tests/test_ansi2html.py
++++ ansi2html-1.9.5/tests/test_ansi2html.py
+@@ -50,6 +50,7 @@ _here = dirname(abspath(__file__))
class TestAnsi2HTML:
maxDiff = None
@@ -14,7 +14,7 @@
def test_linkify(self) -> None:
ansi = "http://threebean.org#foobar"
-@@ -465,7 +466,7 @@
+@@ -486,7 +487,7 @@ class TestAnsi2HTML:
assert target in html
def test_command_script(self) -> None:
@@ -23,7 +23,7 @@
assert result.returncode == 0
def test_command_input_output_encoding(self) -> None:
-@@ -480,7 +481,7 @@
+@@ -501,7 +502,7 @@ class TestAnsi2HTML:
with Popen(
[