Add structure to requirements/ directory (#39024)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Co-authored-by: Robert Shaw <114415538+robertgshaw2-redhat@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-04-10 13:46:41 -07:00
committed by GitHub
co-authored by Robert Shaw
parent 2d80cf9d6e
commit fc645f1acc
40 changed files with 354 additions and 331 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ mock_if_no_torch(
# Mock any version checks by reading from compiled CI requirements
with open(ROOT_DIR / "requirements/test.txt") as f:
with open(ROOT_DIR / "requirements/test/cuda.txt") as f:
VERSIONS = dict(line.strip().split("==") for line in f if "==" in line)
importlib.metadata.version = lambda name: VERSIONS.get(name) or "0.0.0"