Skip to content

Commit 3e2b7ca

Browse files
committed
RHAIENG-2189: build(codeserver): and remove the --offline flag, since it causes build failure on ppc64le
``` + uv pip install --offline --cache-dir /root/.cache/uv --requirements=./pylock.toml warning: The `--pylock` option is experimental and may change without warning. Pass `--preview-features pylock` to disable this warning. Using Python 3.12.9 environment at: /opt/app-root × Failed to download `setuptools==80.9.0` ╰─▶ Network connectivity is disabled, but the requested data wasn't found in the cache for: `https://files.pythonhosted.org/packages/a3/dc/17031897dae0efacfea57dfd3a82fdd2a2aeb58e0ff71b77b87e44edc772/setuptools-80.9.0-py3-none-any.whl` subprocess exited with status 1 ``` (cherry picked from commit e5ee8cb)
1 parent d7b095a commit 3e2b7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ RUN --mount=type=cache,target=/root/.cache/uv /bin/bash <<'EOF'
300300
set -Eeuxo pipefail
301301
echo "Installing softwares and packages"
302302
# we can ensure wheels are consumed from the cache only by restricting internet access for uv install with '--offline' flag
303-
UV_NO_CACHE=false UV_LINK_MODE=copy uv pip install --offline --cache-dir /root/.cache/uv --requirements=./pylock.toml
304-
# Note: debugpy wheel availabe on pypi (in uv cache) is none-any but bundles amd64.so files
303+
UV_NO_CACHE=false UV_LINK_MODE=copy uv pip install --cache-dir /root/.cache/uv --requirements=./pylock.toml
304+
# Note: debugpy wheel available on pypi (in uv cache) is none-any but bundles amd64.so files
305305
# Build debugpy from source instead
306306
UV_LINK_MODE=copy uv pip install --no-cache git+https://github.com/microsoft/debugpy.git@v$(grep -A1 '\"debugpy\"' ./pylock.toml | grep -Eo '\b[0-9\.]+\b')
307307
# change ownership to default user (all packages were installed as root and has root:root ownership

0 commit comments

Comments
 (0)