Skip to content

Commit d707e05

Browse files
authored
Use requirements-dev.txt to install pip deps (#9167)
### Summary We don't need to duplicate the deps source. ### Test plan CI
1 parent 9672061 commit d707e05

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

build/packaging/pre_build_script.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,5 @@ set -euxo pipefail
1313
# not install them. TODO(dbort): Switch to using `python -m build --wheel`,
1414
# which does install them. Though we'd need to disable build isolation to be
1515
# able to see the installed torch package.
16-
readonly BUILD_DEPS=(
17-
# This list must match the build-system.requires list from pyproject.toml.
18-
"cmake"
19-
"pip>=23"
20-
"pyyaml"
21-
"setuptools>=63"
22-
"tomli"
23-
"wheel"
24-
"zstd"
25-
)
26-
pip install --progress-bar off "${BUILD_DEPS[@]}"
16+
17+
pip install --progress-bar off -r requirements-dev.txt

0 commit comments

Comments
 (0)