Skip to content

Commit 1145060

Browse files
committed
chore(TMUX_MAX_VERSION): 3.4 to 3.6
1 parent 4601185 commit 1145060

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/libtmux/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
TMUX_MIN_VERSION = "1.8"
2828

2929
#: Most recent version of tmux supported
30-
TMUX_MAX_VERSION = "3.4"
30+
TMUX_MAX_VERSION = "3.6"
3131

3232
SessionDict = dict[str, t.Any]
3333
WindowDict = dict[str, t.Any]

tests/legacy_api/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def mock_tmux_cmd(*args: t.Any, **kwargs: t.Any) -> Hi:
5454

5555
def test_allows_next_version(monkeypatch: pytest.MonkeyPatch) -> None:
5656
"""Assert get_version() supports next version."""
57-
TMUX_NEXT_VERSION = str(float(TMUX_MAX_VERSION) + 0.1)
57+
TMUX_NEXT_VERSION = "3.7"
5858

5959
class Hi:
6060
stdout: t.ClassVar = [f"tmux next-{TMUX_NEXT_VERSION}"]

tests/test_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ class VersionParsingFixture(t.NamedTuple):
298298
),
299299
VersionParsingFixture(
300300
test_id="next_version",
301-
mock_stdout=[f"tmux next-{float(TMUX_MAX_VERSION) + 0.1!s}"],
301+
mock_stdout=["tmux next-3.7"],
302302
mock_stderr=None,
303303
mock_platform=None,
304-
expected_version=str(float(TMUX_MAX_VERSION) + 0.1),
304+
expected_version="3.7",
305305
raises=False,
306306
exc_msg_regex=None,
307307
),

0 commit comments

Comments
 (0)