Unverified Commit b6890a12 authored by Netanel Haber's avatar Netanel Haber Committed by GitHub
Browse files

Bugfix: `use_existing_torch.py`: Glob recursive subdirs in requirements (fixes #39024) (#39793)


Signed-off-by: default avatarNetanel Haber <58652339+netanel-haber@users.noreply.github.com>
parent c08f3b2a
......@@ -30,8 +30,8 @@ def main(argv):
args = parser.parse_args(argv)
for file in (
*glob.glob("requirements/*.txt"),
*glob.glob("requirements/*.in"),
*glob.glob("requirements/**/*.txt", recursive=True),
*glob.glob("requirements/**/*.in", recursive=True),
"pyproject.toml",
):
with open(file) as f:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment