diff --git a/ci/validate_wheel.sh b/ci/validate_wheel.sh index 7100d3f2b97..c4d249862b7 100755 --- a/ci/validate_wheel.sh +++ b/ci/validate_wheel.sh @@ -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 @@ -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 '{}' \+