Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hunter for openSUSE:Factory 
checked in at 2026-08-06 16:26:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hunter (Old)
 and      /work/SRC/openSUSE:Factory/.python-hunter.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hunter"

Thu Aug  6 16:26:41 2026 rev:9 rq:1369965 version:3.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hunter/python-hunter.changes      
2025-09-15 19:57:22.878375956 +0200
+++ /work/SRC/openSUSE:Factory/.python-hunter.new.16738/python-hunter.changes   
2026-08-06 16:28:43.942093246 +0200
@@ -1,0 +2,8 @@
+Wed Aug  5 02:53:27 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch remove-six.patch:
+  * Remove six usage from the testsuite.
+- Use python_module devel in the BuildRequires, rather than %pythons.
+- Skip two threading tests on 32 bit.
+
+-------------------------------------------------------------------

New:
----
  remove-six.patch

----------(New B)----------
  New:
- Add patch remove-six.patch:
  * Remove six usage from the testsuite.
----------(New E)----------

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

Other differences:
------------------
++++++ python-hunter.spec ++++++
--- /var/tmp/diff_new_pack.ZYDeDg/_old  2026-08-06 16:28:44.638117540 +0200
+++ /var/tmp/diff_new_pack.ZYDeDg/_new  2026-08-06 16:28:44.638117540 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-hunter
 #
-# 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %{?sle15_python_module_pythons}
 Name:           python-hunter
 Version:        3.9.0
@@ -23,16 +24,16 @@
 License:        BSD-2-Clause
 URL:            https://github.com/ionelmc/python-hunter
 Source:         
https://files.pythonhosted.org/packages/source/h/hunter/hunter-%{version}.tar.gz
-BuildRequires:  %pythons
+# PATCH-FIX-UPSTREAM gh#ionelmc/python-hunter#130
+Patch0:         remove-six.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module aspectlib}
+BuildRequires:  %{python_module devel >= 3.9}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module process-tests}
 BuildRequires:  %{python_module pytest-benchmark}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module tzdata}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
@@ -62,8 +63,8 @@
 export PYTHONDONTWRITEBYTECODE=1
 pushd src
 %python_exec build_tests.py build_ext
-find . -name 'eviltracer.cpython-*-linux-gnu.so' -exec mv "{}" ../tests \;
-find . -name 'sample5.cpython-*-linux-gnu.so' -exec mv "{}" ../tests \;
+find . -name 'eviltracer.cpython-*-linux*.so' -exec mv "{}" ../tests \;
+find . -name 'sample5.cpython-*-linux*.so' -exec mv "{}" ../tests \;
 rm build_tests.py
 popd
 
@@ -78,7 +79,13 @@
 
 %check
 export PYTHONPATH=tests
-%pytest_arch -k 'not (test_pdb and (postmortem-ipdb or settrace-ipdb or 
debugger-ipdb) or test_fullsource_cython or test_source_cython or 
test_safe_repr or test_profile or test_errorsnooper)' --ignore 
tests/test_remote.py --ignore tests/test_integration.py
+donttest="test_pdb and (postmortem-ipdb or settrace-ipdb or debugger-ipdb)"
+donttest+=" or test_fullsource_cython or test_source_cython or test_safe_repr"
+donttest+=" or test_profile or test_errorsnooper"
+if [ $(getconf LONG_BIT) -eq 32 ]; then
+    donttest+=" or test_threading_support or test_thread_filtering"
+fi
+%pytest_arch --ignore tests/test_remote.py --ignore tests/test_integration.py 
-k "not ($donttest)"
 
 %post
 %python_install_alternative hunter-trace

++++++ remove-six.patch ++++++
>From 0399e4424bb81314f5c5a875a3abaa3e76619b30 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Wed, 5 Aug 2026 12:23:25 +1000
Subject: [PATCH] Remove use of six from the testsuite

Since Python 3.9 is the lowest version of Python we test with, we can
comfortably remove six from the testsuite, and stop installing it.
---
 tests/test_util.py | 5 ++---
 tox.ini            | 1 -
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/test_util.py b/tests/test_util.py
index b2d74f5..faf4103 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -14,7 +14,6 @@
 
 import py
 import pytest
-import six
 
 from hunter.util import safe_repr
 
@@ -178,7 +177,7 @@ def __instancecheck__(self, instance):
             side_effects.append('MetaMeta.__instancecheck__')
             return True
 
-    class Meta(six.with_metaclass(MetaMeta, type)):
+    class Meta(type, metaclass=MetaMeta):
         @property
         def __mro__(self):
             side_effects.append('Meta.__mro__')
@@ -202,7 +201,7 @@ def __dict__(self, _={}):
             side_effects.append('Meta.__dict__')
             return _
 
-    class Foobar(six.with_metaclass(Meta, object)):
+    class Foobar(metaclass=Meta):
         @property
         def __mro__(self):
             side_effects.append('Foobar.__mro__')
diff --git a/tox.ini b/tox.ini
index f8b6465..acb27ac 100644
--- a/tox.ini
+++ b/tox.ini
@@ -46,7 +46,6 @@ deps =
     setuptools>=80
     setuptools_scm>=8
     aspectlib
-    six
     py
     tzdata
     ipdb

Reply via email to