Skip to content

Commit be4f066

Browse files
committed
RHAIENG-948: fix(ppc): build failure due to missing cython in aipcc wheel index
``` + pip install --no-cache-dir -r requirements-build.txt Looking in indexes: https://console.redhat.com/api/pypi/public-rhai/rhoai/3.0/cpu-ubi9/simple/ Ignoring oldest-supported-numpy: markers 'python_version < "3.9"' don't match your environment ERROR: Could not find a version that satisfies the requirement cython>=0.29.31 (from versions: none) ERROR: No matching distribution found for cython>=0.29.31 ```
1 parent de7326d commit be4f066

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
@@ -179,7 +179,8 @@ if [ "$TARGETARCH" = "ppc64le" ] || [ "$TARGETARCH" = "s390x" ]; then
179179
make -j$(nproc) VERBOSE=1
180180
make install -j$(nproc)
181181
cd ../../python
182-
pip install --no-cache-dir -r requirements-build.txt
182+
# aipcc index is missing cython, and maybe more
183+
pip install --no-cache-dir --extra-index-url https://pypi.org/simple -r requirements-build.txt
183184
PYARROW_WITH_PARQUET=1 \
184185
PYARROW_WITH_DATASET=1 \
185186
PYARROW_WITH_FILESYSTEM=1 \

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ if [ "$TARGETARCH" = "ppc64le" ] || [ "$TARGETARCH" = "s390x" ]; then
181181
make -j$(nproc) VERBOSE=1
182182
make install -j$(nproc)
183183
cd ../../python
184-
pip install --no-cache-dir -r requirements-build.txt
184+
# aipcc index is missing cython, and maybe more
185+
pip install --no-cache-dir --extra-index-url https://pypi.org/simple -r requirements-build.txt
185186
PYARROW_WITH_PARQUET=1 \
186187
PYARROW_WITH_DATASET=1 \
187188
PYARROW_WITH_FILESYSTEM=1 \

0 commit comments

Comments
 (0)