Skip to content

Commit 0db7efb

Browse files
committed
RHAIENG-948: fix(ppc): build failure due to missing protobuf>=4.25.1 in aipcc wheel index
``` + pip wheel . -w /root/onnx_wheel ... ERROR: Could not find a version that satisfies the requirement protobuf>=4.25.1 (from versions: none) ERROR: No matching distribution found for protobuf>=4.25.1 [end of output] ```
1 parent b0f9632 commit 0db7efb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ if [ "${TARGETARCH}" = "ppc64le" ]; then
235235
pip install --no-cache-dir --extra-index-url https://pypi.org/simple -r requirements.txt
236236
CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)"
237237
export CMAKE_ARGS
238-
pip wheel . -w /root/onnx_wheel
238+
# protobuf>=4.25.1
239+
pip wheel --extra-index-url https://pypi.org/simple . -w /root/onnx_wheel
239240
else
240241
echo "Skipping ONNX build on non-Power"
241242
mkdir -p /root/onnx_wheel

jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ if [ "${TARGETARCH}" = "ppc64le" ]; then
237237
pip install --no-cache-dir --extra-index-url https://pypi.org/simple -r requirements.txt
238238
CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)"
239239
export CMAKE_ARGS
240-
pip wheel . -w /root/onnx_wheel
240+
# protobuf>=4.25.1
241+
pip wheel --extra-index-url https://pypi.org/simple . -w /root/onnx_wheel
241242
else
242243
echo "Skipping ONNX build on non-Power"
243244
mkdir -p /root/onnx_wheel

0 commit comments

Comments
 (0)