From e5ea73f82c3b262d51aa1aeb93d635837d7702fe Mon Sep 17 00:00:00 2001 From: Raunak Bhagat Date: Tue, 10 Dec 2024 16:30:59 -0800 Subject: [PATCH] build: Use uv for maturin builds instead (#3540) # Overview This PR updates the installer that maturin uses during builds from the default `pip` to `uv`. Co-authored-by: Raunak Bhagat --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 86d3dc73a7..e6def0bf93 100644 --- a/Makefile +++ b/Makefile @@ -56,11 +56,11 @@ hooks: .venv .PHONY: build build: check-toolchain .venv ## Compile and install Daft for development - @unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --extras=all + @unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --extras=all --uv .PHONY: build-release build-release: check-toolchain .venv ## Compile and install a faster Daft binary - @unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --release + @unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --release --uv .PHONY: test test: .venv build ## Run tests