Skip to content

Drop tmux 3.2 support and require tmux 3.3a #1107

Closed

Description

@tony

Summary

libtmux's minimum is now tmux 3.3a (libtmux#888, merged to libtmux master, not yet in a release), while tmuxp still states, tests and checks tmux 3.2. Once tmuxp depends on the first libtmux release that contains that change, its startup check refuses tmux 3.2a whatever tmuxp's own docs say, so tmuxp should drop tmux 3.2 in the same change.

Motivation

The CLI's startup check calls libtmux's has_minimum_version():

https://github.com/tmux-python/tmuxp/blob/v1.78.0/src/tmuxp/cli/__init__.py#L288-L295

That function compares against libtmux's TMUX_MIN_VERSION, on libtmux master:

TMUX_MIN_VERSION = "3.3a"

Below that minimum it raises libtmux.exc.VersionTooLow, a subclass of LibTmuxException. Neither except clause above catches it: TmuxCommandNotFound is a different class, and tmuxp.exc.TmuxpException derives from Exception, not LibTmuxException. Read from source, not run: on tmux 3.2a the check would end in that exception instead of the one-line message the TmuxpException branch prints.

tmuxp v1.78.0 names tmux 3.2 as its minimum in:

Proposal

Drop tmux 3.2 support and require tmux 3.3a, matching libtmux.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions