Skip to content

Commit df7f474

Browse files
authored
Merge pull request #2719 from jiridanek/jd_3.2build
RHAIENG-2101, RHAIENG-2111: chore(build): fix builds in 3.2
2 parents 3cb59ae + 7e23557 commit df7f474

File tree

23 files changed

+36064
-30702
lines changed

23 files changed

+36064
-30702
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 6 additions & 2 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

@@ -296,8 +300,8 @@ RUN --mount=type=cache,target=/root/.cache/uv /bin/bash <<'EOF'
296300
set -Eeuxo pipefail
297301
echo "Installing softwares and packages"
298302
# we can ensure wheels are consumed from the cache only by restricting internet access for uv install with '--offline' flag
299-
UV_NO_CACHE=false UV_LINK_MODE=copy uv pip install --offline --cache-dir /root/.cache/uv --requirements=./pylock.toml
300-
# 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
301305
# Build debugpy from source instead
302306
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')
303307
# change ownership to default user (all packages were installed as root and has root:root ownership

codeserver/ubi9-python-3.12/pylock.toml

Lines changed: 1435 additions & 1279 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ EOF
374374

375375
RUN --mount=type=cache,target=/var/cache/dnf,sharing=locked,id=notebooks-dnf /bin/bash <<'EOF'
376376
set -Eeuxo pipefail
377-
if [ "${TARGETARCH}" = "ppc64le" ]; then
377+
if [ "${TARGETARCH}" = "ppc64le" ] || [ "$TARGETARCH" = "s390x" ]; then
378378
packages=(
379379
# required to compile pillow
380380
zlib-devel libjpeg-turbo-devel

jupyter/datascience/ubi9-python-3.12/pylock.toml

Lines changed: 2656 additions & 2249 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos
1111
####################
1212
FROM ${BASE_IMAGE} AS cpu-base
1313

14+
# RHAIENG-2189: this is AIPCC migration phase 1.5
15+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
16+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
17+
1418
WORKDIR /opt/app-root/bin
1519

1620
# OS Packages needs to be installed as root

jupyter/minimal/ubi9-python-3.12/pylock.toml

Lines changed: 1168 additions & 972 deletions
Large diffs are not rendered by default.

jupyter/pytorch+llmcompressor/ubi9-python-3.12/pylock.toml

Lines changed: 2832 additions & 2337 deletions
Large diffs are not rendered by default.

jupyter/pytorch/ubi9-python-3.12/pylock.toml

Lines changed: 2662 additions & 2255 deletions
Large diffs are not rendered by default.

jupyter/rocm/pytorch/ubi9-python-3.12/pylock.toml

Lines changed: 2662 additions & 2255 deletions
Large diffs are not rendered by default.

jupyter/rocm/tensorflow/ubi9-python-3.12/pylock.toml

Lines changed: 2393 additions & 2026 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)