Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions ci/validate_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

set -euo pipefail
Expand Down Expand Up @@ -46,10 +46,20 @@ fi

pydistcheck \
"${PYDISTCHECK_ARGS[@]}" \
"$(echo "${wheel_dir_relative_path}"/*.whl)"
"${wheel_dir_relative_path}"/*.whl

rapids-logger "validate packages with 'twine'"

twine check \
--strict \
"$(echo "${wheel_dir_relative_path}"/*.whl)"
"${wheel_dir_relative_path}"/*.whl

rapids-logger "validate packages with 'abi3audit'"

# 'abi3audit' fails on wheels with DSOs that lack an ABI tag (e.g. 'lib*' wheels).
# Filtering by '*abi*' avoids those.
find \
"${wheel_dir_relative_path}" \
-type f \
-name '*abi*' \
-exec abi3audit --strict --summary --verbose '{}' \+
Loading