Skip to content

Commit 42287cf

Browse files
committed
add extracted line from pixi files to shown when check OK
1 parent 5fc0148 commit 42287cf

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

ci/tools/check_pixi_cuda_version.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def main() -> int:
3232
cuda_feature = f"cu{major}"
3333

3434
errors: list[str] = []
35+
checked: list[str] = []
3536
for path in PIXI_FILES:
3637
if not path.is_file():
3738
print(f"error: {path} not found", file=sys.stderr)
@@ -58,6 +59,11 @@ def main() -> int:
5859
f"(from ci/versions.yml cuda.build.version={build_version!r})"
5960
)
6061

62+
checked.append(
63+
f"{rel} (build-variants.cuda-version={variants!r}, "
64+
f"feature.{cuda_feature}.dependencies.cuda-version={cuda_pin!r})"
65+
)
66+
6167
if errors:
6268
print(
6369
f"error: cuda_bindings/cuda_core pixi cuda-version pins out of sync with "
@@ -69,7 +75,9 @@ def main() -> int:
6975
print(f" - {err}", file=sys.stderr)
7076
return 1
7177

72-
print(f"OK: pixi cuda-version pins match ci/versions.yml ({expected!r})")
78+
print(f"OK: pixi cuda-version pins match ci/versions.yml ({expected!r}):")
79+
for item in checked:
80+
print(f" - {item}")
7381
return 0
7482

7583

0 commit comments

Comments
 (0)