Skip to content

Commit

Permalink
[sharktank] Pull in requirements file in subdir
Browse files Browse the repository at this point in the history
Instead of pulling in the upper-level requirements file, only pull in
a smaller subset defined in the recently added requirements file.
  • Loading branch information
marbre committed Oct 28, 2024
1 parent 4ae3bf4 commit 5feafe1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sharktank/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__))


Expand Down Expand Up @@ -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(SETUPPY_DIR / "requirements.txt")


def get_version_spec(dep: str):
Expand Down

0 comments on commit 5feafe1

Please sign in to comment.