feat(tui): replace Textual with a Go/Bubble Tea interface (#941)

This commit is contained in:
oyasumi
2026-08-03 19:23:07 -07:00
committed by GitHub
parent a51ca18666
commit 5bb9fe896b
128 changed files with 16229 additions and 6562 deletions
+31
View File
@@ -0,0 +1,31 @@
from __future__ import annotations
import os
import shutil
import subprocess
from pathlib import Path
import pytest
PROJECT_ROOT = Path(__file__).resolve().parents[1]
def test_wheel_build_requires_go(tmp_path: Path) -> None:
uv = shutil.which("uv")
if uv is None:
pytest.skip("uv is required for the packaging smoke test")
env = os.environ.copy()
env["PATH"] = str(tmp_path / "path-without-go")
result = subprocess.run( # noqa: S603
[uv, "build", "--wheel", "--out-dir", str(tmp_path / "dist")],
cwd=PROJECT_ROOT,
env=env,
check=False,
capture_output=True,
text=True,
)
assert result.returncode != 0
assert "Go 1.24 or newer is required" in result.stdout + result.stderr