From 45c0e89836d45c6023fbb5a9bf241c18d6aa1f1e Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 28 Oct 2024 21:05:16 +0100 Subject: [PATCH] [sharktank] Pull in requirements file in subdir Instead of pulling in the upper-level requirements file, only pull in a smaller subset defined in the recently added requirements file. --- sharktank/setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sharktank/setup.py b/sharktank/setup.py index d5e4a980f..f0b19f7ba 100644 --- a/sharktank/setup.py +++ b/sharktank/setup.py @@ -11,8 +11,6 @@ from setuptools import find_namespace_packages, setup # type: ignore -THIS_DIR = Path(__file__).resolve().parent -REPO_DIR = THIS_DIR.parent SETUPPY_DIR = os.path.realpath(os.path.dirname(__file__)) @@ -58,7 +56,7 @@ def load_requirement_pins(requirements_file: Path): requirement_pins.update(dict(pin_pairs)) -load_requirement_pins(REPO_DIR / "requirements.txt") +load_requirement_pins("requirements.txt") def get_version_spec(dep: str):