From b6890a120a70ffbf2e932b4f49e1e2416e3881f2 Mon Sep 17 00:00:00 2001 From: Netanel Haber <58652339+netanel-haber@users.noreply.github.com> Date: Tue, 14 Apr 2026 18:11:46 +0300 Subject: [PATCH] Bugfix: `use_existing_torch.py`: Glob recursive subdirs in requirements (fixes #39024) (#39793) Signed-off-by: Netanel Haber <58652339+netanel-haber@users.noreply.github.com> --- use_existing_torch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/use_existing_torch.py b/use_existing_torch.py index 7c58a34d69..39c327e967 100644 --- a/use_existing_torch.py +++ b/use_existing_torch.py @@ -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: