From 1ec413ad635782eb17d5475f8092618fb11dc62c Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Fri, 3 Jul 2026 20:01:07 +0200 Subject: [PATCH] python3Packages.libtmux: 0.59.0 -> 0.60.0 Diff: https://github.com/tmux-python/libtmux/compare/v0.59.0...v0.60.0 Changelog: https://github.com/tmux-python/libtmux/raw/v0.60.0/CHANGES --- pkgs/development/python-modules/libtmux/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 8a648f904396..f9fbb25f1f5c 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -14,14 +14,14 @@ buildPythonPackage (finalAttrs: { pname = "libtmux"; - version = "0.59.0"; + version = "0.60.0"; pyproject = true; src = fetchFromGitHub { owner = "tmux-python"; repo = "libtmux"; tag = "v${finalAttrs.version}"; - hash = "sha256-RsK3nVGpgNX05tCc5kK5GFLUS5vVoe8NRKgg7Y/DzwM="; + hash = "sha256-1h+qkQDYRwP2peMOvKC1kk4DFcG4cwuBApsF8MmkWbo="; }; patches = [ ./0001-fix-test_control_mode_stdout_preserves_non_ascii_out.patch ]; @@ -45,7 +45,12 @@ buildPythonPackage (finalAttrs: { enabledTestPaths = [ "tests" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test/test_retry.py" ]; - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + disabledTests = [ + # test is broken for tmux 3.7a and later + # https://github.com/tmux-python/libtmux/issues/697 + "test_new_window_name_invalid_on_3_7" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fail with: 'no server running on /tmp/tmux-1000/libtmux_test8sorutj1'. "test_new_session_width_height" # AssertionError: assert '' == '$'