From 9564f4fed770d5860900167963ba62b8a23b118a Mon Sep 17 00:00:00 2001 From: Matei Dibu Date: Tue, 4 Nov 2025 22:20:22 +0200 Subject: [PATCH] Use uv_build instead of hatch --- betterproto2/pyproject.toml | 4 ++-- betterproto2_compiler/pyproject.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/betterproto2/pyproject.toml b/betterproto2/pyproject.toml index 9f84b3d..e51c6c5 100644 --- a/betterproto2/pyproject.toml +++ b/betterproto2/pyproject.toml @@ -50,8 +50,8 @@ package = true default-groups = "all" [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["uv_build>=0.9.7,<0.10"] +build-backend = "uv_build" [tool.ruff] extend-exclude = ["tests/outputs", "src/betterproto2/internal_lib"] diff --git a/betterproto2_compiler/pyproject.toml b/betterproto2_compiler/pyproject.toml index ff98f9e..2da5f12 100644 --- a/betterproto2_compiler/pyproject.toml +++ b/betterproto2_compiler/pyproject.toml @@ -52,8 +52,8 @@ package = true default-groups = "all" [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["uv_build>=0.9.7,<0.10"] +build-backend = "uv_build" [tool.ruff] extend-exclude = ["tests/outputs", "src/betterproto2_compiler/lib"] @@ -175,4 +175,4 @@ help = "Check the code with the Ruff linter" # google/protobuf/timestamp.proto \ # google/protobuf/type.proto \ # google/protobuf/wrappers.proto \ -# google/protobuf/compiler/plugin.proto \ No newline at end of file +# google/protobuf/compiler/plugin.proto