Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-bpython for openSUSE:Factory 
checked in at 2026-03-06 18:21:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bpython (Old)
 and      /work/SRC/openSUSE:Factory/.python-bpython.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bpython"

Fri Mar  6 18:21:39 2026 rev:22 rq:1337334 version:0.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bpython/python-bpython.changes    
2025-11-25 17:20:36.612068663 +0100
+++ /work/SRC/openSUSE:Factory/.python-bpython.new.561/python-bpython.changes   
2026-03-06 18:22:32.465996283 +0100
@@ -1,0 +2,5 @@
+Tue Mar  3 13:01:43 UTC 2026 - Marc-Elias Travitzky 
<[email protected]>
+
+- Add skip-tests.patch to skip tests that are broken upstream 
+
+-------------------------------------------------------------------

New:
----
  skip-tests.patch

----------(New B)----------
  New:
- Add skip-tests.patch to skip tests that are broken upstream 
----------(New E)----------

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

Other differences:
------------------
++++++ python-bpython.spec ++++++
--- /var/tmp/diff_new_pack.irFCHn/_old  2026-03-06 18:22:33.950058039 +0100
+++ /var/tmp/diff_new_pack.irFCHn/_new  2026-03-06 18:22:33.970058871 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-bpython
 #
-# 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
@@ -25,6 +25,8 @@
 License:        MIT
 URL:            https://www.bpython-interpreter.org/
 Source:         
https://files.pythonhosted.org/packages/source/b/bpython/bpython-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM skip-tests.patch to skip tests that are broken upstream
+Patch:          skip-tests.patch
 BuildRequires:  %{python_module Babel}
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module base >= 3.10}
@@ -54,6 +56,7 @@
 %if %{with test}
 BuildRequires:  %{python_module curtsies >= 0.4}
 BuildRequires:  %{python_module greenlet}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pygments}
 BuildRequires:  %{python_module pyxdg}
 BuildRequires:  %{python_module requests}

++++++ skip-tests.patch ++++++
Index: bpython-0.26/bpython/test/test_interpreter.py
===================================================================
--- bpython-0.26.orig/bpython/test/test_interpreter.py
+++ bpython-0.26/bpython/test/test_interpreter.py
@@ -86,6 +86,7 @@ class TestInterpreter(unittest.TestCase)
         self.assertMultiLineEqual(str(plain("").join(a)), str(expected))
         self.assertEqual(plain("").join(a), expected)
 
+    @unittest.skipUnless((3, 13) < sys.version_info[:2], "broken with 3.13+")
     def test_traceback(self):
         i = Interpreter()
 
@@ -148,6 +149,7 @@ class TestInterpreter(unittest.TestCase)
         self.assertMultiLineEqual(str(expected), str(plain("").join(a)))
         self.assertEqual(expected, plain("").join(a))
 
+    @unittest.skipUnless((3, 13) < sys.version_info[:2], "broken with 3.13+")
     def test_getsource_works_on_interactively_defined_functions(self):
         source = "def foo(x):\n    return x + 1\n"
         i = interpreter.Interp()

Reply via email to