Skip to content

A programming framework for agentic AI

Use uv instead of pip for env creation (#99)

Jack Gerritsb35fe0bd22de
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 752408f3b..9b407ca00 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -22,6 +22,7 @@ dependencies = [
]
[tool.hatch.envs.default]
+installer = "uv"
dependencies = [
"pyright==1.1.368",
"mypy==1.10.0",
@@ -42,6 +43,9 @@ dependencies = [
"pytest-xdist",
]
+[tool.hatch.envs.default.extra-scripts]
+pip = "{env:HATCH_UV} pip {args}"
+
[tool.hatch.envs.default.scripts]
fmt = "ruff format"
lint = "ruff check"