diff --git a/Makefile b/Makefile index 0f47e2d22..496f19ced 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ install-rust-coverage: build-dev: @rm -f python/pydantic_core/*.so ifneq ($(USE_MATURIN),) - uv run maturin develop + uv run maturin develop --uv else uv pip install --force-reinstall -v -e . --config-settings=build-args='--profile dev' endif @@ -48,7 +48,7 @@ endif build-prod: @rm -f python/pydantic_core/*.so ifneq ($(USE_MATURIN),) - uv run maturin develop --release + uv run maturin develop --uv --release else uv pip install -v -e . endif @@ -57,7 +57,7 @@ endif build-profiling: @rm -f python/pydantic_core/*.so ifneq ($(USE_MATURIN),) - uv run maturin develop --profile profiling + uv run maturin develop --uv --profile profiling else uv pip install --force-reinstall -v -e . --config-settings=build-args='--profile profiling' endif @@ -66,7 +66,7 @@ endif build-coverage: @rm -f python/pydantic_core/*.so ifneq ($(USE_MATURIN),) - RUSTFLAGS='-C instrument-coverage' uv run maturin develop --release + RUSTFLAGS='-C instrument-coverage' uv run maturin develop --uv --release else RUSTFLAGS='-C instrument-coverage' uv pip install -v -e . endif @@ -76,7 +76,7 @@ build-pgo: @rm -f python/pydantic_core/*.so $(eval PROFDATA := $(shell mktemp -d)) ifneq ($(USE_MATURIN),) - RUSTFLAGS='-Cprofile-generate=$(PROFDATA)' uv run maturin develop --release + RUSTFLAGS='-Cprofile-generate=$(PROFDATA)' uv run maturin develop --uv --release else RUSTFLAGS='-Cprofile-generate=$(PROFDATA)' uv pip install --force-reinstall -v -e . endif @@ -84,7 +84,7 @@ endif $(eval LLVM_PROFDATA := $(shell rustup run stable bash -c 'echo $$RUSTUP_HOME/toolchains/$$RUSTUP_TOOLCHAIN/lib/rustlib/$$(rustc -Vv | grep host | cut -d " " -f 2)/bin/llvm-profdata')) $(LLVM_PROFDATA) merge -o $(PROFDATA)/merged.profdata $(PROFDATA) ifneq ($(USE_MATURIN),) - RUSTFLAGS='-Cprofile-use=$(PROFDATA)/merged.profdata' uv run maturin develop --release + RUSTFLAGS='-Cprofile-use=$(PROFDATA)/merged.profdata' uv run maturin develop --uv --release else RUSTFLAGS='-Cprofile-use=$(PROFDATA)/merged.profdata' uv pip install --force-reinstall -v -e . endif diff --git a/uv.lock b/uv.lock index 34afc1275..17e350df9 100644 --- a/uv.lock +++ b/uv.lock @@ -624,7 +624,7 @@ wheels = [ [[package]] name = "pydantic-core" -version = "2.27.1" +version = "2.27.2" source = { virtual = "." } dependencies = [ { name = "typing-extensions" },