Skip to content

py(deps[libtmux]) Bump 0.58.1 -> 0.59.0 (tmux 3.7 support)#1057

Merged
tony merged 4 commits into
masterfrom
libtmux-v0.59.0
Jun 27, 2026
Merged

py(deps[libtmux]) Bump 0.58.1 -> 0.59.0 (tmux 3.7 support)#1057
tony merged 4 commits into
masterfrom
libtmux-v0.59.0

Conversation

@tony

@tony tony commented Jun 27, 2026

Copy link
Copy Markdown
Member

Summary

  • Bump libtmux ~=0.58.1~=0.59.0 (one upstream release)
  • Add tmux 3.7 to the CI test grid
  • Adapt the issue-800 regression test to tmux 3.7's reworded pane error
  • No tmuxp code/API changes — break_pane is not called in tmuxp

libtmux 0.59.0 adds tmux 3.7 support and works around an upstream tmux 3.7 regression where break-pane crashed the server with a NULL-pointer dereference.

Upstream changes

libtmux 0.59.0 (2026-06-27)

Release: https://github.com/tmux-python/libtmux/releases/tag/v0.59.0

Commits in this PR

  1. py(deps[libtmux]) Bump 0.58.1 -> 0.59.0 — pyproject.toml + uv.lock
  2. tests(builder): Match tmux 3.7 pane error wording — widen the pytest.raises match to cover tmux 3.7's "size or position no space for a new pane" wording
  3. ci(tests[matrix]): Add tmux 3.7 to version grid.github/workflows/tests.yml
  4. docs(CHANGES): libtmux 0.59.0 floor bump, tmux 3.7 — changelog entry for 1.71.0

Test plan

  • uv run py.test passes locally on tmux 3.7 (797 passed, 2 skipped)
  • uv run mypy passes (strict)
  • uv run ruff check . / ruff format --check pass
  • CI green across tmux 3.2a–3.7 + master

tony added 3 commits June 27, 2026 13:46
why: libtmux 0.59.0 adds tmux 3.7 support and works around an upstream
tmux 3.7 regression where break-pane crashed the server with a
NULL-pointer dereference. Picking it up lets tmuxp run on tmux 3.7.

what:
- Bump libtmux ~=0.58.1 -> ~=0.59.0 in pyproject.toml
- Update uv.lock to libtmux 0.59.0 from PyPI

libtmux 0.59.0 (2026-06-27):
- Add tmux 3.7 to the tested version matrix (3.2a-3.7)
- Fix: Pane.break_pane no longer crashes the tmux 3.7 server (#693)

Release: https://github.com/tmux-python/libtmux/releases/tag/v0.59.0
Changelog: https://libtmux.git-pull.com/history.html#libtmux-0-59-0-2026-06-27
why: tmux 3.7 reworded the pane-overflow error from "no space for new
pane" to "size or position no space for a new pane". The issue-800
regression test pinned the old text and failed on tmux 3.7.

what:
- Widen the pytest.raises match to r"no space for (a )?new pane" so it
  matches both the pre-3.7 and 3.7 phrasings
- Add a comment documenting the tmux 3.7 wording change
why: libtmux 0.59.0 adds tmux 3.7 support, so tmuxp should verify it
builds and tests cleanly against the new release.

what:
- Add '3.7' to the tmux-version build matrix alongside 3.2a-3.6 and
  master in .github/workflows/tests.yml
@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.98%. Comparing base (fd60dfc) to head (03b6ee8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1057   +/-   ##
=======================================
  Coverage   81.98%   81.98%           
=======================================
  Files          28       28           
  Lines        2548     2548           
  Branches      485      485           
=======================================
  Hits         2089     2089           
  Misses        328      328           
  Partials      131      131           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tony tony force-pushed the libtmux-v0.59.0 branch from 34b84fa to 08ceece Compare June 27, 2026 18:52
why: Record the libtmux floor bump and tmux 3.7 support under the
1.71.0 unreleased block. The release lead paragraph and version
header are added by the maintainer at tag time, not by this PR.

what:
- Record the libtmux ~=0.58.1 -> ~=0.59.0 floor bump under Dependencies
- Note tmux 3.7 support under What's new, scoped to the user-visible
  change (supported version range) without CI, break-pane, or test
  mechanics
@tony tony force-pushed the libtmux-v0.59.0 branch from 08ceece to 03b6ee8 Compare June 27, 2026 19:03
@tony tony merged commit a69ca3b into master Jun 27, 2026
14 checks passed
tony added a commit that referenced this pull request Jun 27, 2026
Minor release bumping the libtmux floor to 0.59.0 and adding tmux 3.7
to the supported and tested version range (#1057).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant