From 7e519bd3bac36745c3b85d14c63e1e8502b7156e Mon Sep 17 00:00:00 2001 From: Paul Osborne Date: Tue, 3 Feb 2026 15:30:52 -0600 Subject: [PATCH] Run stubs generation with `--extra dev` This ensures that componentize-py updates are applied to avoid issues when generating stubs; without this, a previously installed version may be used with how uv interacts with its virtualenv. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e37057f..534e163 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ all: $(COMPOSED_WASMS) $(STUBS_DIR): $(COMPUTE_WIT) rm -rf $(STUBS_DIR) - uv run componentize-py -d wit --world-module wit_world -w $(TARGET_WORLD) bindings $(STUBS_DIR) + uv run --extra dev componentize-py -d wit --world-module wit_world -w $(TARGET_WORLD) bindings $(STUBS_DIR) # Build our composed wasm using fastly-compute-py build $(BUILD_DIR)/%.composed.wasm: wit/viceroy.wit wit/deps/fastly/compute.wit fastly_compute/wsgi.py fastly_compute/runtime_patching/patches.py | $(BUILD_DIR) $(STUBS_DIR)