Skip to content

Commit

Permalink
Use RAPIDS_PY_VERSION in wheel tag
Browse files Browse the repository at this point in the history
Co-authored-by: Gregory Lee <[email protected]>
  • Loading branch information
jakirkham and grlee77 authored Nov 29, 2023
1 parent 85f72e3 commit 006de9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check
# tags that incorrectly indicate it is a universal wheel. To fix this, we need to modify the wheel
# to have CPython ABI and Python tags matching the version of Python that the Python bindings were
# built with.
WHEEL_PYTHON_TAG=`python -c 'import sys; print("cp{0}{1}".format(*sys.version_info[:2]))'`
WHEEL_PYTHON_TAG=cp$(echo ${RAPIDS_PY_VERSION} | sed 's/\.//g')
python -m wheel tags --remove --python-tag="${WHEEL_PYTHON_TAG}" --abi-tag="${WHEEL_PYTHON_TAG}" dist/*

mkdir -p final_dist
Expand Down

0 comments on commit 006de9b

Please sign in to comment.