From 743335d83e70d78a259771fc016aa6165ca2ce91 Mon Sep 17 00:00:00 2001 From: Viswa Marepalli Date: Tue, 27 Oct 2026 21:37:25 +0000 Subject: [PATCH] Require uv 0.13.4 or later in wynd Matches cloudflare/workers-py#293, which raised pywrangler's minimum to uv 0.13.4 for the eMudhra certificate fix. Co-Authored-By: Claude Opus 5.5 --- docs/docs/workers/getting-started.md | 2 +- docs/docs/wynd/commands.md | 2 +- docs/docs/wynd/getting-started.md | 2 +- docs/docs/wynd/overview.md | 2 +- docs/docs/wynd/python-config.md | 2 +- docs/docs/wynd/troubleshooting.md | 6 +++--- wynd/src/wynd/sync.py | 2 +- wynd/tests/conftest.py | 2 +- wynd/tests/test_dev.py | 4 ++-- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/docs/workers/getting-started.md b/docs/docs/workers/getting-started.md index 8568bbd..144eac6 100644 --- a/docs/docs/workers/getting-started.md +++ b/docs/docs/workers/getting-started.md @@ -10,7 +10,7 @@ on every request. ## Prerequisites -- [`uv`](https://docs.astral.sh/uv/) 0.12.3 or later. Check with +- [`uv`](https://docs.astral.sh/uv/) 0.13.4 or later. Check with `uv --version`. - Node.js, which provides `npx`. Wynd runs Wrangler through it. - A Cloudflare account, for the deploy step only. diff --git a/docs/docs/wynd/commands.md b/docs/docs/wynd/commands.md index 536427d..8f0eb6a 100644 --- a/docs/docs/wynd/commands.md +++ b/docs/docs/wynd/commands.md @@ -4,7 +4,7 @@ description: "Every Wynd command including init, the flags Wynd reads, [tool.wyn --- Run Wynd with `uvx wynd `. To pin its version, run -`uvx wynd@0.3.0 `. Wynd needs uv 0.12.3 or later and Node.js on +`uvx wynd@0.3.0 `. Wynd needs uv 0.13.4 or later and Node.js on `PATH`, and runs Wrangler 4.129.0 through `npx --yes wrangler@4.129.0`. ## Commands diff --git a/docs/docs/wynd/getting-started.md b/docs/docs/wynd/getting-started.md index 08a3845..ebd901e 100644 --- a/docs/docs/wynd/getting-started.md +++ b/docs/docs/wynd/getting-started.md @@ -12,7 +12,7 @@ follow [Build a typed Python Worker](../workers/getting-started.md). ## Prerequisites - A Python Worker that runs under `pywrangler dev`. -- [uv](https://docs.astral.sh/uv/) 0.12.3 or later. Check with `uv --version`, +- [uv](https://docs.astral.sh/uv/) 0.13.4 or later. Check with `uv --version`, and update with `uv self update`. - Node.js, which provides `npx`. diff --git a/docs/docs/wynd/overview.md b/docs/docs/wynd/overview.md index cdf8e93..62ec2b6 100644 --- a/docs/docs/wynd/overview.md +++ b/docs/docs/wynd/overview.md @@ -90,7 +90,7 @@ an existing project. ## Requirements -- [uv](https://docs.astral.sh/uv/) 0.12.3 or later on `PATH`. +- [uv](https://docs.astral.sh/uv/) 0.13.4 or later on `PATH`. - Node.js on `PATH`, for `npx`. - Linux or macOS. Windows is untested. diff --git a/docs/docs/wynd/python-config.md b/docs/docs/wynd/python-config.md index 0f4caed..cfab393 100644 --- a/docs/docs/wynd/python-config.md +++ b/docs/docs/wynd/python-config.md @@ -31,7 +31,7 @@ What the Python file adds: - Wynd 0.3.0 or later. `uvx wynd` runs the latest release, and `uvx wynd@0.3.0` pins it. -- [uv](https://docs.astral.sh/uv/) 0.12.3 or later. Check with `uv --version`. +- [uv](https://docs.astral.sh/uv/) 0.13.4 or later. Check with `uv --version`. - Node.js on `PATH`, for `npx`. Wynd runs Wrangler 4.129.0 through it. ## Create a project diff --git a/docs/docs/wynd/troubleshooting.md b/docs/docs/wynd/troubleshooting.md index 3fdb4f8..4d04f76 100644 --- a/docs/docs/wynd/troubleshooting.md +++ b/docs/docs/wynd/troubleshooting.md @@ -91,11 +91,11 @@ date is missing or malformed. environment's section, because a `compatibility_flags` key there replaces the top-level list. -## `Wynd needs uv 0.12.3 or later` +## `Wynd needs uv 0.13.4 or later` -**Cause.** The `uv` on `PATH` is older than 0.12.3, the oldest version Wynd +**Cause.** The `uv` on `PATH` is older than 0.13.4, the oldest version Wynd supports. Without any `uv` on `PATH`, the message is -`uv not found on PATH. Install uv 0.12.3 or later.` +`uv not found on PATH. Install uv 0.13.4 or later.` **Fix.** Run `uv self update`, or install uv again from [its docs](https://docs.astral.sh/uv/getting-started/installation/). diff --git a/wynd/src/wynd/sync.py b/wynd/src/wynd/sync.py index 59cb71c..cb9fb80 100644 --- a/wynd/src/wynd/sync.py +++ b/wynd/src/wynd/sync.py @@ -15,7 +15,7 @@ __all__ = ("select_sdk", "sync") SDKS = ("crosswind-workers", "workers-runtime-sdk") -MIN_UV = (0, 12, 3) +MIN_UV = (0, 13, 4) MIN_UV_TEXT = ".".join(map(str, MIN_UV)) diff --git a/wynd/tests/conftest.py b/wynd/tests/conftest.py index 7a3685c..ac94c87 100644 --- a/wynd/tests/conftest.py +++ b/wynd/tests/conftest.py @@ -34,7 +34,7 @@ from pathlib import Path args = sys.argv[1:] if args == ["--version"]: - print(f"uv {os.environ.get('WYND_TEST_UV_VERSION', '0.12.19')} (abc 2026-10-01)") + print(f"uv {os.environ.get('WYND_TEST_UV_VERSION', '0.13.4')} (abc 2026-10-01)") elif os.environ.get("WYND_TEST_UV_FAIL") in args: print("uv: no solution found", file=sys.stderr) sys.exit(2) diff --git a/wynd/tests/test_dev.py b/wynd/tests/test_dev.py index ca0cb1f..08318cc 100644 --- a/wynd/tests/test_dev.py +++ b/wynd/tests/test_dev.py @@ -346,10 +346,10 @@ def test_an_old_uv_stops_before_any_uv_work( monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str], ) -> None: - monkeypatch.setenv("WYND_TEST_UV_VERSION", "0.12.2") + monkeypatch.setenv("WYND_TEST_UV_VERSION", "0.13.3") assert main(["dev"]) == 1 - assert "0.12.3" in capsys.readouterr().err + assert "0.13.4" in capsys.readouterr().err assert tools.uv() == [["--version"]] assert tools.wrangler() == []