- Package:
- src:python-libtmux
- Source:
- src:python-libtmux
- Submitter:
- Sebastian Ramacher
- Date:
- 2026-08-30 05:07:02 UTC
- Severity:
- normal
Source: python-libtmux
Version: 0.61.0-2
Severity: serious
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
the autopkgtests of python-libtmux are flaky:
80s =================================== FAILURES ===================================
80s _____________ test_control_mode_stdout_preserves_non_ascii_output ______________
80s
80s control_mode = functools.partial(<class 'libtmux._internal.control_mode.ControlMode'>, server=Server(socket_name=libtmux_test4ouev6i_), session=Session($1 libtmux_vneftrwp))
80s
80s @pytest.mark.skipif(
80s sys.flags.utf8_mode != 0,
80s reason="PYTHONUTF8 mode forces UTF-8, masking the locale bug",
80s )
80s def test_control_mode_stdout_preserves_non_ascii_output(
80s control_mode: t.Callable[[], ControlMode],
80s ) -> None:
80s """Control-mode stdout must preserve non-ASCII tmux output."""
80s old_lc_ctype = locale.setlocale(locale.LC_CTYPE)
80s try:
80s locale.setlocale(locale.LC_CTYPE, "C")
80s with control_mode() as ctl:
80s os.write(
80s ctl._write_fd,
80s f"display-message -p '{FORMAT_SEPARATOR}'\n".encode(),
80s )
80s
80s for _ in range(20):
80s ready, _, _ = select.select([ctl.stdout], [], [], 1)
80s > assert ready, "timed out waiting for control-mode output"
80s E AssertionError: timed out waiting for control-mode output
80s E assert []
80s
80s tests/test_control_mode.py:91: AssertionError
80s =========================== short test summary info ============================
80s FAILED tests/test_control_mode.py::test_control_mode_stdout_preserves_non_ascii_output
80s ====================== 1 failed, 969 deselected in 2.41s =======================
See
https://ci.debian.net/packages/p/python-libtmux/testing/amd64/74916704/
and
https://ci.debian.net/packages/p/python-libtmux/testing/armhf/74917824/
for examples. On other architectures they did not fail and also the
history of autopkgtests (e.g. on amd64
https://ci.debian.net/packages/p/python-libtmux/testing/amd64/) suggests
that those tests fail randomly.
Cheers
We believe that the bug you reported is fixed in the latest version of python-libtmux, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1146093@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sebastien Delafond <seb@debian.org> (supplier of updated python-libtmux package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sun, 30 Aug 2026 06:29:42 +0200 Source: python-libtmux Architecture: source Version: 0.62.0-2 Distribution: unstable Urgency: medium Maintainer: Sebastien Delafond <seb@debian.org> Changed-By: Sebastien Delafond <seb@debian.org> Closes: 1146093 Changes: python-libtmux (0.62.0-2) unstable; urgency=medium . [ Sébastien Delafond ] * tests: skip flaky test (Closes: #1146093) Checksums-Sha1: 0494e04cab9e6a6105a775cf5b51539ba123e8cc 1814 python-libtmux_0.62.0-2.dsc 231798979a506d8408e8dc6c5df193668935d51f 4560 python-libtmux_0.62.0-2.debian.tar.xz effc02abd4f3ad3fc0bf3978f0ac1dbfb0ec8b49 6125 python-libtmux_0.62.0-2_source.buildinfo Checksums-Sha256: 6b982cf1fd6fcea1e18469336cc8dcb0a4d3864a298830030920b15cbc94aae5 1814 python-libtmux_0.62.0-2.dsc 306a45f87f98aa097e42813af24e8c0a5aca5de22305304c52bc2ddc01c9fe29 4560 python-libtmux_0.62.0-2.debian.tar.xz b492c34e857a4b64ad6530ef30bf2c8be1309a732f83da728ea2e34def2d1c7a 6125 python-libtmux_0.62.0-2_source.buildinfo Files: 55c83570ef48379ef7085704282145bd 1814 python optional python-libtmux_0.62.0-2.dsc 073c87e39df6293a39015825f193fff5 4560 python optional python-libtmux_0.62.0-2.debian.tar.xz 8d01db0bac70a130ed8b0089ed4cb37b 6125 python optional python-libtmux_0.62.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEAqSkbVtrXP4xJMh3EL6Jg/PVnWQFAmqTs2MACgkQEL6Jg/PV nWQ/pAf/UxOVqDx+o+ripUG+Ws2B1AvowjDpNA+DeGXmTPlAfacCumB51hOLoH5l 6Eyy9nttizdMRJYuA8Qd8agDNazWD8lX2vNdgf7enRseCHxCKHC8F9XGtJ4OUWO8 3IvJeR/jFcRaH5MWht/zKOgIyT6a8FLEu5vQSiVwE+V4FK/OY19KUduT7E5Lx3cu HxVRo25etYAD1mpFp5lpys5psfeAAspDo7zvIs3U6LzdcG94bQiR/fMBRUItDK+4 PaE83tjDJBUucbxEjFNPyI+8V/PPMev6Qnc/GlftFj83gB3Z3ZW2mbn3IGLBgLsF I/G7XgY8AxB3z9ADK3WVu/APlJdkbA== =Cfgv -----END PGP SIGNATURE-----