Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-terminado for openSUSE:Factory checked in at 2026-11-27 19:40:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-terminado (Old) and /work/SRC/openSUSE:Factory/.python-terminado.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-terminado" Fri Nov 27 19:40:58 2026 rev:22 rq:1400971 version:0.18.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-terminado/python-terminado.changes 2024-04-02 16:46:29.069774534 +0200 +++ /work/SRC/openSUSE:Factory/.python-terminado.new.1340718/python-terminado.changes 2026-11-27 19:42:12.491734432 +0100 @@ -1,0 +2,6 @@ +Thu Nov 26 19:51:55 UTC 2026 - Ben Greiner <[email protected]> + +- Add terminado-pr254-fixtest.patch gh#jupyter/terminado#254 + * Fix flaky test + +------------------------------------------------------------------- New: ---- terminado-pr254-fixtest.patch ----------(New B)---------- New: - Add terminado-pr254-fixtest.patch gh#jupyter/terminado#254 * Fix flaky test ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-terminado.spec ++++++ --- /var/tmp/diff_new_pack.wSLjJC/_old 2026-11-27 19:42:13.821790125 +0100 +++ /var/tmp/diff_new_pack.wSLjJC/_new 2026-11-27 19:42:13.822790166 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-terminado # -# Copyright (c) 2024 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 @@ -24,6 +24,8 @@ Group: Development/Languages/Python URL: https://github.com/jupyter/terminado Source: https://files.pythonhosted.org/packages/source/t/terminado/terminado-%{version}.tar.gz +# PATCH-FIX-UPSTREAM terminado-pr254-fixtest.patch gh#jupyter/terminado#254 +Patch0: https://github.com/jupyter/terminado/pull/254.patch#/terminado-pr254-fixtest.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module hatchling >= 0.25} BuildRequires: %{python_module pip} @@ -49,7 +51,7 @@ of QWeb). %prep -%setup -q -n terminado-%{version} +%autosetup -p1 -n terminado-%{version} sed -i '/addopts/ s/--durations 10 --color=yes//' pyproject.toml %build ++++++ terminado-pr254-fixtest.patch ++++++ >From a982a6c68133d5bcb88faac90623a5854a49966a Mon Sep 17 00:00:00 2001 From: krassowski <[email protected]> Date: Wed, 28 Oct 2026 09:11:55 +0000 Subject: [PATCH] Fix flaky test --- tests/basic_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/basic_test.py b/tests/basic_test.py index fa2986c..add987d 100644 --- a/tests/basic_test.py +++ b/tests/basic_test.py @@ -312,6 +312,11 @@ async def test_max_terminals(self): msg = await tms[0].read_msg() # Closed self.assertEqual(msg, None) + # When the websocket closes, the server sends SIGHUP to the shell. The server frees + # the terminal later, when the shell has exited and the pty returns EOF. + while len(self.unique_tm.ptys_by_fd) >= MAX_TERMS: + await asyncio.sleep(0.01) + # Should be able to open back up to MAX_TERMS tm = await self.get_term_client("/unique") msg = await tm.read_msg()
