From ca306adde70541cfa524cb2b3a4fa7cef7d1c214 Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Tue, 11 Jun 2024 05:44:32 +0000 Subject: [PATCH] infra: update installation deps Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com> --- all.sh | 4 ---- hatch.toml | 2 +- tools/requirements.txt | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/all.sh b/all.sh index b0660bf0..79f04fb6 100644 --- a/all.sh +++ b/all.sh @@ -3,10 +3,6 @@ GIT_ROOT=$(git rev-parse --show-toplevel) cd "$GIT_ROOT" || exit 1 -if command -v direnv >/dev/null 2>&1 && [ -f "$GIT_ROOT/.envrc" ]; then - direnv allow -fi - printf "Running update-mypy.py\n" python ./tools/update-mypy.py printf "Running update-config-stubs.py\n" diff --git a/hatch.toml b/hatch.toml index 35d788a0..264b3ecb 100644 --- a/hatch.toml +++ b/hatch.toml @@ -33,7 +33,7 @@ tool = ["quality", "bash ./clean.sh", 'python ./cz.py'] installer = "uv" type = "virtual" dependencies = [ - "openllm[vllm] @ {root:uri}/openllm-python", + "openllm @ {root:uri}/openllm-python", "openllm-core @ {root:uri}/openllm-core", "openllm-client @ {root:uri}/openllm-client", # NOTE: Tests strategies with Hypothesis and pytest, and snapshot testing with syrupy diff --git a/tools/requirements.txt b/tools/requirements.txt index 36bb8351..4c84a45c 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -2,3 +2,4 @@ ipython jupyter tomlkit ghapi +pre-commit