Skip to content

AVRO-4232: [Build] Install uv in the Docker build image - #3925

Merged
RyanSkraba merged 1 commit into
apache:branch-1.12from
iemejia:AVRO-4232-docker-uv
Aug 6, 2026
Merged

AVRO-4232: [Build] Install uv in the Docker build image#3925
RyanSkraba merged 1 commit into
apache:branch-1.12from
iemejia:AVRO-4232-docker-uv

Conversation

@iemejia

@iemejia iemejia commented Aug 6, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

lang/py/build.sh on branch-1.12 now relies on uv (backported in #3922), but the Docker build/test image (share/docker/Dockerfile) never installed it, so Python builds and tests fail inside the container.

This installs the pinned uv 0.10.4 (matching the main branch) into $HOME/.local/bin (/root/.local/bin at build time) and adds that directory to PATH alongside cargo.

How was this patch tested?

./build.sh docker        # interactive, non-root user
# inside the container:
uv --version

The approach mirrors how origin/main installs uv in the same Dockerfile.

JIRA

The lang/py build.sh now relies on uv, but the Docker test image did not
install it, breaking Python builds/tests in the container.

Install the pinned uv 0.10.4 (matching main branch) into $HOME/.local/bin
and add that directory to PATH alongside cargo.
@github-actions github-actions Bot added the build label Aug 6, 2026
@iemejia
iemejia requested a review from RyanSkraba August 6, 2026 17:15
@RyanSkraba
RyanSkraba merged commit d5a84a3 into apache:branch-1.12 Aug 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants