Skip to content

Commit 1ca8a4d

Browse files
committed
Report installed packages
Signed-off-by: David Gardner <dagardner@nvidia.com>
1 parent 7d92afe commit 1ca8a4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/scripts/github/build_wheel.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ GITHUB_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd
2121
source ${GITHUB_SCRIPT_DIR}/common.sh
2222
WHEELS_BASE_DIR="${WORKSPACE_TMP}/wheels"
2323
WHEELS_DIR="${WHEELS_BASE_DIR}/nvidia-nat"
24+
PIP_REPORTS_DIR="${WORKSPACE_TMP}/pip_reports"
25+
mkdir -p "${PIP_REPORTS_DIR}"
2426

2527
GIT_TAG=$(get_git_tag)
2628
rapids-logger "Git Version: ${GIT_TAG}"
@@ -78,7 +80,7 @@ for whl in "${MOVED_WHEELS[@]}"; do
7880

7981
# Report the packages in the environment regardless of install success
8082
rapids-logger "Installed wheel ${whl} with Python ${pyver}, pip install exit code ${INSTALL_RESULT}, installed packages:"
81-
uv pip list
83+
uv pip list --format json > ${PIP_REPORTS_DIR}/$(basename "${whl}" .whl)_py${pyver}_packages.json
8284

8385
if [[ ${INSTALL_RESULT} -ne 0 ]]; then
8486
rapids-logger "Error, failed to install wheel ${whl} with Python ${pyver}"

0 commit comments

Comments
 (0)