Skip to content

Commit 7895d5c

Browse files
committed
RHAIENG-2189: build(codeserver): add back pypi index
``` + uv pip install /wheelsdir/pillow-11.3.0-cp312-cp312-manylinux_2_34_ppc64le.whl /wheelsdir/pyarrow-17.0.0-cp312-cp312-linux_ppc64le.whl Using Python 3.12.9 environment at: /opt/app-root × No solution found when resolving dependencies: ╰─▶ Because only numpy==2.3.4 is available and numpy==2.3.4 has no wheels with a matching platform tag (e.g., `manylinux_2_34_ppc64le`), we can conclude that numpy==2.3.4 cannot be used. And because pyarrow==17.0.0 depends on numpy==2.3.4, we can conclude that pyarrow==17.0.0 cannot be used. And because only pyarrow==17.0.0 is available and you require pyarrow, we can conclude that your requirements are unsatisfiable. hint: Wheels are available for `numpy` (v2.3.4) on the following platforms: `linux_aarch64`, `linux_x86_64` subprocess exited with status 1 ```
1 parent a734379 commit 7895d5c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ FROM ${BASE_IMAGE} AS cpu-base
7272

7373
WORKDIR /opt/app-root/bin
7474

75+
# RHAIENG-2189: this is AIPCC migration phase 1.5
76+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
77+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
78+
7579
# OS Packages needs to be installed as root
7680
USER 0
7781

codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ FROM ${BASE_IMAGE} AS cpu-base
8282

8383
WORKDIR /opt/app-root/bin
8484

85+
# RHAIENG-2189: this is AIPCC migration phase 1.5
86+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
87+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
88+
8589
# OS Packages needs to be installed as root
8690
USER 0
8791

0 commit comments

Comments
 (0)