From df7050cb08c87368fb2cd934f16f9c5ad510537d Mon Sep 17 00:00:00 2001 From: Talha Date: Mon, 3 Aug 2026 19:20:03 +0500 Subject: [PATCH] docs(release): use uv in install instructions --- .github/release-intro.md | 11 ++++++++++- tests/test_release_notes.py | 5 +++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/release-intro.md b/.github/release-intro.md index e509065..0168951 100644 --- a/.github/release-intro.md +++ b/.github/release-intro.md @@ -15,7 +15,16 @@ Verify downloaded files against [SHA256SUMS]({checksums_url}). ### Command line ```bash -python -m pip install "vidxp[local-worker,mcp]=={version}" +uv tool install --python 3.14 --torch-backend cpu \ + "vidxp[local-worker,mcp]=={version}" +``` + +Install [uv](https://docs.astral.sh/uv/getting-started/installation/) first. Add +`frontend` to the extras if you also want the local browser interface: + +```bash +uv tool install --python 3.14 --torch-backend cpu \ + "vidxp[local-worker,mcp,frontend]=={version}" ``` ### Containers diff --git a/tests/test_release_notes.py b/tests/test_release_notes.py index af07539..e33ed8f 100644 --- a/tests/test_release_notes.py +++ b/tests/test_release_notes.py @@ -40,7 +40,12 @@ def test_release_page_links_exact_assets_before_changelog(self): self.assertLess(result.index("## Download VidXP"), result.index("## Changelog")) self.assertIn("VidXP%20Setup.exe", result) + self.assertIn( + "uv tool install --python 3.14 --torch-backend cpu", result + ) self.assertIn("vidxp[local-worker,mcp]==0.4.0-b", result) + self.assertIn("vidxp[local-worker,mcp,frontend]==0.4.0-b", result) + self.assertNotIn("python -m pip install", result) self.assertIn("ghcr.io/grayhatdevelopers/vidxp:0.4.0-b", result) self.assertNotIn("Beta release", result)