Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pexpect for openSUSE:Factory checked in at 2026-07-08 17:33:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pexpect (Old) and /work/SRC/openSUSE:Factory/.python-pexpect.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pexpect" Wed Jul 8 17:33:08 2026 rev:50 rq:1364278 version:4.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pexpect/python-pexpect.changes 2025-09-14 18:50:15.522305816 +0200 +++ /work/SRC/openSUSE:Factory/.python-pexpect.new.1982/python-pexpect.changes 2026-07-08 17:34:57.154145101 +0200 @@ -1,0 +2,5 @@ +Tue Jul 7 11:57:49 UTC 2026 - Markéta Machová <[email protected]> + +- Add upstream wait.patch to fix test failure in staging + +------------------------------------------------------------------- New: ---- wait.patch ----------(New B)---------- New: - Add upstream wait.patch to fix test failure in staging ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pexpect.spec ++++++ --- /var/tmp/diff_new_pack.LZsiu3/_old 2026-07-08 17:34:58.594195525 +0200 +++ /var/tmp/diff_new_pack.LZsiu3/_new 2026-07-08 17:34:58.598195664 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pexpect # -# 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 @@ -26,6 +26,8 @@ Source: https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz # PATCH-FIX-UPSTREAM https://github.com/pexpect/pexpect/pull/808 Tests: Avoid the multiprocessing forkserver method Patch0: py314.patch +# PATCH-FIX-UPSTREAM https://github.com/pexpect/pexpect/pull/813 Wait for child to exit in test_spawn_uses_env +Patch1: wait.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module ptyprocess} BuildRequires: %{python_module pytest} ++++++ wait.patch ++++++ >From 3cc22a6648e550daf37be4cdfe8955931f64a522 Mon Sep 17 00:00:00 2001 From: kxxt <[email protected]> Date: Fri, 31 Jan 2025 12:04:22 -0500 Subject: [PATCH] Wait for child to exit in test_spawn_uses_env Wait for the child to exit before check its exitstatus in test_spawn_uses_env. This fixes test failure like https://archriscv.felixc.at/.status/log.htm?url=logs/python-pexpect/python-pexpect-4.9.0-4.log --- tests/test_env.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_env.py b/tests/test_env.py index ecaaa4be..c7163656 100755 --- a/tests/test_env.py +++ b/tests/test_env.py @@ -65,6 +65,7 @@ def test_spawn_uses_env(self): child = pexpect.spawn(script, env=environ) out = child.readline() child.expect(pexpect.EOF) + child.wait() self.assertEqual(child.exitstatus, 0) self.assertEqual(out.rstrip(), b'pexpect test value')
