Source: python-libtmux
Version: 0.55.0-5
Severity: normal
Tags: upstream patch
Affects: src:hexer
Affects: src:tina
X-Debbugs-Cc: [email protected]

Hi,

First of all, thanks a lot for taking care of the libtmux Python library!

The pybuild plugin in all libtmux versions before 0.58.1 cannot be
imported with pytest 9.1. This breaks the autopkgtest of python3-libtmux,
and it also breaks the test suite of any other packages that try to import
the libtmux pybuild plugin, such as hexer or tina.

Attached is a trivial patch taken from an upstream commit; of course,
upgrading to the 0.58.1 upstream release would also fix this.

Thanks again, and keep up the great work!

G'luck,
Peter

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Description: Do not apply a pytest mark to a fixture
 This unbreaks the import of the libtmux pytest plugin on pytest 9.1.
Origin: upstream, 
https://github.com/tmux-python/libtmux/commit/b709acdf100b600b321b628dcf678a4163f5c428
Author: Tony Narlock
Last-Update: 2026-06-26

--- a/src/libtmux/pytest_plugin.py
+++ b/src/libtmux/pytest_plugin.py
@@ -49,7 +49,6 @@
     return p
 
 
[email protected](USING_ZSH, reason="Using ZSH")
 @pytest.fixture(scope="session")
 def zshrc(user_path: pathlib.Path) -> pathlib.Path:
     """Suppress ZSH default message.

Attachment: signature.asc
Description: PGP signature

Reply via email to