From e1f084c279880227ece88ff0f113b882f3416bfc Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Mon, 24 Jun 2024 15:18:28 +1000 Subject: [PATCH] chore: use uv to install packages [uv](https://github.com/astral-sh/uv) provides similar capabilities to `pip` and `venv`, but is _significantly_ faster. Since `hatch` now supports using `uv` under the hood when managing virtual environments, we can get the speed ups for free. Signed-off-by: JP-Ellis --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a8ef954c2..29dc4fb89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -147,6 +147,7 @@ artifacts = [ # Install dev dependencies in the default environment to simplify the developer # workflow. [tool.hatch.envs.default] +installer = "uv" features = ["devel"] extra-dependencies = [ "hatchling", @@ -169,6 +170,7 @@ docs-build = "mkdocs build {args}" # Test environment for running unit tests. This automatically tests against all # supported Python versions. [tool.hatch.envs.test] +installer = "uv" features = ["devel-test"] [[tool.hatch.envs.test.matrix]]