Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package subunit for openSUSE:Factory checked 
in at 2026-04-09 16:09:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subunit (Old)
 and      /work/SRC/openSUSE:Factory/.subunit.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subunit"

Thu Apr  9 16:09:29 2026 rev:14 rq:1345289 version:1.4.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/subunit/subunit.changes  2023-07-13 
17:18:16.829022374 +0200
+++ /work/SRC/openSUSE:Factory/.subunit.new.21863/subunit.changes       
2026-04-09 16:22:29.884969011 +0200
@@ -1,0 +2,22 @@
+Wed Apr  8 03:14:06 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.4.5:
+  * Migrate Python config to pyproject.toml
+  * Fix spelling errors
+  * Support addDuration
+  * Add vim syntax highlighting files for subunit v1
+  * Drop Python 3.9 support/add Python 3.14 support
+  * Drop use of Python26TestResult and Python27TestResult
+  * Remove use of deprecated datetime.datetime methods
+  * Fix typo in exception handler
+  * Add support for Python 3.12
+  * Remove perl support from the main subunit repo …
+  * Bump minimum python to 3.7, add 3.11.
+  * Avoid use of extras - python3's hasattr is safe
+  * Drop compatibility wrappers for memoryview in older Python versions
+  * Improve unittest calls
+  * Rely on external copy of iso8601
+- Add patch support-testtools-2.8.2.patch:
+  * Support testtools 2.8.2 changes.
+
+-------------------------------------------------------------------

Old:
----
  1.4.2.tar.gz

New:
----
  1.4.5.tar.gz
  support-testtools-2.8.2.patch

----------(New B)----------
  New:  * Rely on external copy of iso8601
- Add patch support-testtools-2.8.2.patch:
  * Support testtools 2.8.2 changes.
----------(New E)----------

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

Other differences:
------------------
++++++ subunit.spec ++++++
--- /var/tmp/diff_new_pack.SugZRU/_old  2026-04-09 16:22:31.065017431 +0200
+++ /var/tmp/diff_new_pack.SugZRU/_new  2026-04-09 16:22:31.069017595 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package subunit
 #
-# Copyright (c) 2023 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
@@ -21,7 +21,7 @@
 %bcond_with python2
 %{?sle15_python_module_pythons}
 Name:           subunit
-Version:        1.4.2
+Version:        1.4.5
 %global majver  %(awk 'BEGIN { OFS="."; FS="[\\.\\+]+" } {print $1, $2, $3}' 
<<< %{version})
 # %%global majver  1.4
 Release:        0
@@ -31,14 +31,15 @@
 URL:            https://github.com/testing-cabal/subunit
 # Source0:        %%{name}-%%{version}.tar.xz
 Source0:        
https://github.com/testing-cabal/%{name}/archive/refs/tags/%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#testing-cabal/subunit#98
+Patch0:         support-testtools-2.8.2.patch
 BuildRequires:  %{python_module docutils}
-BuildRequires:  %{python_module extras}
 BuildRequires:  %{python_module fixtures}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module iso8601}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module testscenarios}
-BuildRequires:  %{python_module testtools >= 1.8.0}
+BuildRequires:  %{python_module testtools >= 2.7}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  check-devel
 BuildRequires:  cppunit-devel
@@ -47,7 +48,6 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
-BuildRequires:  perl(ExtUtils::MakeMaker)
 %python_subpackages
 
 %description
@@ -90,16 +90,6 @@
 Header files and libraries for developing applications that use cppunit
 and subunit.
 
-%package -n perl-subunit
-Summary:        Perl bindings for subunit
-Group:          Development/Libraries/Perl
-Requires:       perl-base = %{perl_version}
-BuildArch:      noarch
-
-%description -n perl-subunit
-Subunit Perl bindings.  See the python3-python-subunit package for test
-processing functionality.
-
 %package shell
 Summary:        Shell bindings for subunit
 Group:          Development/Libraries/Other
@@ -113,8 +103,8 @@
 %package -n python-python-%{name}
 Summary:        Streaming protocol for test results
 Group:          Development/Libraries/Python
-Requires:       python-extras
-Requires:       python-testtools >= 1.8.0
+Requires:       python-iso8601
+Requires:       python-testtools >= 2.7
 BuildArch:      noarch
 
 %description -n python-python-%{name}
@@ -144,8 +134,8 @@
 %package -n python3-python-%{name}
 Summary:        Streaming protocol for test results
 Group:          Development/Libraries/Python
-Requires:       python3-extras
-Requires:       python3-testtools >= 1.8.0
+Requires:       python3-iso8601
+Requires:       python3-testtools >= 2.7
 BuildArch:      noarch
 
 %description -n python3-python-%{name}
@@ -200,7 +190,6 @@
 %build
 # Generate the configure script
 autoreconf -fvi
-export INSTALLDIRS=perl
 # any python will do, this is only for the non-python part of the package
 PYTHON=$(find %_bindir -name 'python3*[0-9]' -print -quit)
 export PYTHON
@@ -232,19 +221,10 @@
 # Remove unwanted libtool files
 find %{buildroot} -type f -name "*.la" -delete -print
 
-# Fix perl installation
-mkdir -p %{buildroot}%{perl_vendorlib}
-mv %{buildroot}%{perl_sitelib}/Subunit* %{buildroot}%{perl_vendorlib}
-rm -fr %{buildroot}%{perl_archlib} %{buildroot}%{perl_sitearch}
-
-# Fix permissions
-chmod 0755 %{buildroot}%{_bindir}/subunit-diff
-
 # Fix timestamps
 touch -r c/include/%{name}/child.h %{buildroot}%{_includedir}/%{name}/child.h
 touch -r c++/SubunitTestProgressListener.h \
       %{buildroot}%{_includedir}/%{name}/SubunitTestProgressListener.h
-touch -r perl/subunit-diff %{buildroot}%{_bindir}/subunit-diff
 
 %check
 %if 0%{?suse_version} > 1500
@@ -264,11 +244,11 @@
 %postun -n libcppunit_subunit0 -p /sbin/ldconfig
 
 %files
-%doc NEWS README.rst
+%doc NEWS README.md
 %license Apache-2.0 BSD COPYING
 
 %files -n libsubunit0
-%doc NEWS README.rst
+%doc NEWS README.md
 %license Apache-2.0 BSD COPYING
 %{_libdir}/lib%{name}.so.*
 
@@ -288,11 +268,6 @@
 %{_libdir}/libcppunit_%{name}.so
 %{_libdir}/pkgconfig/libcppunit_%{name}.pc
 
-%files -n perl-subunit
-%license Apache-2.0 BSD COPYING
-%{_bindir}/%{name}-diff
-%{perl_vendorlib}/*
-
 %files shell
 %doc shell/README
 %license Apache-2.0 BSD COPYING

++++++ 1.4.2.tar.gz -> 1.4.5.tar.gz ++++++
++++ 11909 lines of diff (skipped)

++++++ support-testtools-2.8.2.patch ++++++
>From a72e9c343bd369cf840b29e074417fed5d05d59c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= <[email protected]>
Date: Mon, 22 Dec 2025 11:05:54 +0000
Subject: [PATCH] Fix compatibility with testtools 2.8.2

LP: #2136951
---
 python/subunit/tests/test_test_protocol2.py | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/python/subunit/tests/test_test_protocol2.py 
b/python/subunit/tests/test_test_protocol2.py
index 6d1e03b..2874e43 100644
--- a/python/subunit/tests/test_test_protocol2.py
+++ b/python/subunit/tests/test_test_protocol2.py
@@ -30,7 +30,12 @@
 from testtools import TestCase
 from testtools.matchers import Contains, HasLength
 from testtools.testresult.doubles import StreamResult
-from testtools.tests.test_testresult import TestStreamResultContract
+
+try:
+    from testtools.tests.test_testresult import TestStreamResultContract
+except ImportError:
+    # testtools >= 2.8 no longer includes the tests submodule
+    TestStreamResultContract = None
 
 import subunit
 import iso8601
@@ -54,11 +59,13 @@
 ]
 
 
-class TestStreamResultToBytesContract(TestCase, TestStreamResultContract):
-    """Check that StreamResult behaves as testtools expects."""
+if TestStreamResultContract is not None:
 
-    def _make_result(self):
-        return subunit.StreamResultToBytes(BytesIO())
+    class TestStreamResultToBytesContract(TestCase, TestStreamResultContract):
+        """Check that StreamResult behaves as testtools expects."""
+
+        def _make_result(self):
+            return subunit.StreamResultToBytes(BytesIO())
 
 
 class TestStreamResultToBytes(TestCase):

Reply via email to