Skip to content

Commit b0f9632

Browse files
committed
RHAIENG-948: fix(ppc): build failure due to missing numpy in aipcc wheel index
``` + pip install --no-cache-dir -r requirements.txt Looking in indexes: https://console.redhat.com/api/pypi/public-rhai/rhoai/3.0/cpu-ubi9/simple/ ERROR: Could not find a version that satisfies the requirement numpy>=1.22 (from versions: none) ERROR: No matching distribution found for numpy>=1.22 subprocess exited with status 1 ```
1 parent be4f066 commit b0f9632

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
@@ -231,7 +231,8 @@ if [ "${TARGETARCH}" = "ppc64le" ]; then
231231
cd onnx
232232
git checkout ${ONNX_VERSION}
233233
git submodule update --init --recursive
234-
pip install --no-cache-dir -r requirements.txt
234+
# aipcc index does not have numpy>=1.22
235+
pip install --no-cache-dir --extra-index-url https://pypi.org/simple -r requirements.txt
235236
CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)"
236237
export CMAKE_ARGS
237238
pip wheel . -w /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
@@ -233,7 +233,8 @@ if [ "${TARGETARCH}" = "ppc64le" ]; then
233233
cd onnx
234234
git checkout ${ONNX_VERSION}
235235
git submodule update --init --recursive
236-
pip install --no-cache-dir -r requirements.txt
236+
# aipcc index does not have numpy>=1.22
237+
pip install --no-cache-dir --extra-index-url https://pypi.org/simple -r requirements.txt
237238
CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)"
238239
export CMAKE_ARGS
239240
pip wheel . -w /root/onnx_wheel

0 commit comments

Comments
 (0)