Skip to content

Bump libtmux to v0.51.0, update method names#28

Open
tony wants to merge 3 commits into
SDGLBL:masterfrom
tony:libtmux-v0.51.x
Open

Bump libtmux to v0.51.0, update method names#28
tony wants to merge 3 commits into
SDGLBL:masterfrom
tony:libtmux-v0.51.x

Conversation

@tony
Copy link
Copy Markdown

@tony tony commented Dec 7, 2025

Changes

Update deprecated conventions

  • Replace _initial_window.kill_window() with _initial_window.kill()
  • Replace self.session.kill_session() with self.session.kill()
  • Update test mocks to expect kill() instead of kill_session()

libtmux 0.15.0 -> 0.51.0

0.15.0 is a very old release, bumping the constraint to the most recent ensures bug fixes and the most recent updates are tested against.

See also: https://github.com/tmux-python/libtmux/blob/v0.51.0/CHANGES

tony added 3 commits December 6, 2025 15:50
why: libtmux v0.51.0 raises DeprecatedError for legacy APIs
what:
- Replace _initial_window.kill_window() with _initial_window.kill()
- Replace self.session.kill_session() with self.session.kill()
- Update test mocks to expect kill() instead of kill_session()
why: Update to latest libtmux with improved API and DeprecatedError for legacy APIs
what:
- Update pyproject.toml dependency constraint from >=0.15.0 to >=0.51.0
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