Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/tmux-releases.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# https://github.com/tmux/tmux/releases

[releases]
"3.2a" = "551553a4f82beaa8dadc9256800bcc284d7c000081e47aa6ecbb6ff36eacd05f"
"3.3a" = "e4fd347843bd0772c4f48d6dde625b0b109b7a380ff15db21e97c11a4dcdf93f"
"3.4" = "551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa"
"3.5" = "2fe01942e7e7d93f524a22f2c883822c06bc258a4d61dba4b407353d7081950f"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
python-version: ['3.15']
tmux-version: ['3.2a', '3.3a', '3.4', '3.5', '3.6', '3.7', '3.8', 'master']
tmux-version: ['3.3a', '3.4', '3.5', '3.6', '3.7', '3.8', 'master']
steps:
- uses: actions/checkout@v7

Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ live in [src/tmuxp/AGENTS.md](src/tmuxp/AGENTS.md).

## Domain facts

- tmux 3.2+, Python 3.11+ (`requires-python` in `pyproject.toml`); mypy runs
- tmux 3.3a+, Python 3.11+ (`requires-python` in `pyproject.toml`); mypy runs
in strict mode.
- One console script (`tmuxp`) and one plugin entry-point group
(`tmuxp.workspace_builders`).
Expand Down
23 changes: 23 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,29 @@ $ tmuxp@next load yoursession
_Notes on the upcoming release will go here._
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->

### Breaking changes

#### tmux 3.3a+ is now required (#1109)

tmux 3.2a is no longer supported, through the libtmux 0.65.0 update; tmuxp
1.78.0 was the last release that runs on tmux 3.2a. A plugin's default
`tmux_min_version` is now 3.3a.

### Dependencies

#### Minimum `libtmux~=0.65.0` (was `~=0.64.0`) (#1109)

Picks up libtmux 0.65.0, which publishes a capability matrix of the tmux
features it gates by release and requires tmux 3.3a. See the
[libtmux 0.65.0 release notes](https://libtmux.git-pull.com/history.html#libtmux-0-65-0-2026-11-22).

### Fixes

#### A tmux older than libtmux supports prints a message (#1109)

`tmuxp` prints libtmux's version message and exits when tmux is older than
libtmux supports, instead of ending in a `VersionTooLow` traceback.

## tmuxp 1.78.0 (2026-11-21)

tmuxp 1.78.0 updates libtmux to 0.64.0, a fixes-only release. It has no
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ See donation options at <https://tony.sh/support.html>.

# Project details

- tmux support: 3.2+
- tmux support: 3.3a+
- python support: >= 3.11, pypy, pypy3
- Source: <https://github.com/tmux-python/tmuxp>
- Docs: <https://tmuxp.git-pull.com>
Expand Down
2 changes: 1 addition & 1 deletion docs/about_tmux.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ For the freshest results on how to get tmux installed on your system,
"How to install tmux on \<my distro>" will do, as directions change and
are slightly different between distributions.

tmuxp requires tmux **3.2 or newer**. The latest stable version is
tmuxp requires tmux **3.3a or newer**. The latest stable version is
viewable on the [tmux homepage](https://github.com/tmux/tmux).

**Mac OS X** users may install the latest stable version of tmux
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ takes you from nothing to a running session.

## Installation

Ensure you have at least tmux **>= 3.2** and python **>= 3.11**.
Ensure you have at least tmux **>= 3.3a** and python **>= 3.11**.

```console
$ pip install --user tmuxp
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Ensure tmux is installed:
$ tmux -V
```

Minimum required version: tmux 3.2.
Minimum required version: tmux 3.3a.

## Configuration errors

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ include = [
{ path = "conftest.py", format = "sdist" },
]
dependencies = [
"libtmux~=0.64.0",
"libtmux~=0.65.0",
"PyYAML>=6.0"
]

Expand Down
4 changes: 2 additions & 2 deletions src/tmuxp/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from libtmux.__about__ import __version__ as libtmux_version
from libtmux.common import has_minimum_version
from libtmux.exc import TmuxCommandNotFound
from libtmux.exc import TmuxCommandNotFound, VersionTooLow

from tmuxp import exc
from tmuxp.__about__ import __version__
Expand Down Expand Up @@ -290,7 +290,7 @@ def cli(_args: list[str] | None = None) -> None:
except TmuxCommandNotFound:
tmuxp_echo("tmux not found. tmuxp requires you install tmux first.")
sys.exit()
except exc.TmuxpException as e:
except (exc.TmuxpException, VersionTooLow) as e:
tmuxp_echo(str(e))
sys.exit()

Expand Down
2 changes: 1 addition & 1 deletion src/tmuxp/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
logger = logging.getLogger(__name__)

#: Minimum version of tmux required to run tmuxp
TMUX_MIN_VERSION = "3.2"
TMUX_MIN_VERSION = "3.3a"

#: Most recent version of tmux supported
TMUX_MAX_VERSION = None
Expand Down
18 changes: 18 additions & 0 deletions tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@ def test_creates_config_dir_not_exists(tmp_path: pathlib.Path) -> None:
assert tmp_path.exists()


def test_cli_reports_tmux_older_than_libtmux_supports(
monkeypatch: pytest.MonkeyPatch,
capsys: pytest.CaptureFixture[str],
) -> None:
"""cli() prints libtmux's version message instead of a traceback."""
message = "libtmux only supports tmux 3.3a and greater."

def has_minimum_version() -> bool:
raise libtmux.exc.VersionTooLow(message)

monkeypatch.setattr(cli, "has_minimum_version", has_minimum_version)

with pytest.raises(SystemExit):
cli.cli(["ls"])

assert message in capsys.readouterr().out


class HelpTestFixture(t.NamedTuple):
"""Test fixture for help command tests."""

Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.