Skip to content

[SPARK-55358][PYTHON][INFRA][FOLLOW-UP] Do not apt-get install python3-xxx#54197

Closed
zhengruifeng wants to merge 3 commits intoapache:masterfrom
zhengruifeng:ubuntu_24_py_12_fu
Closed

[SPARK-55358][PYTHON][INFRA][FOLLOW-UP] Do not apt-get install python3-xxx#54197
zhengruifeng wants to merge 3 commits intoapache:masterfrom
zhengruifeng:ubuntu_24_py_12_fu

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Do not apt-get install python3-xxx

Why are the changes needed?

In ubuntu 24, apt-get install python3-xxx will also install python3.12. It is error-prone and doesn't work with other python versions from deadsnakes, we should always install python packages via pip.

Does this PR introduce any user-facing change?

No

How was this patch tested?

ci

Was this patch authored or co-authored using generative AI tooling?

no

@github-actions github-actions bot added the BUILD label Feb 7, 2026
@github-actions
Copy link

github-actions bot commented Feb 7, 2026

JIRA Issue Information

=== Improvement SPARK-55358 ===
Summary: Upgrade Python 3.12 test image to Ubuntu 24.04
Assignee: Ruifeng Zheng
Status: Resolved
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

@HyukjinKwon
Copy link
Member

Merged to master.

Yicong-Huang pushed a commit to Yicong-Huang/spark that referenced this pull request Feb 8, 2026
…n3-xxx`

### What changes were proposed in this pull request?
Do not apt-get install `python3-xxx`

### Why are the changes needed?
In ubuntu 24, apt-get install python3-xxx will also install python3.12. It is error-prone and doesn't work with other python versions from `deadsnakes`, we should always install python packages via pip.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
ci

### Was this patch authored or co-authored using generative AI tooling?
no

Closes apache#54197 from zhengruifeng/ubuntu_24_py_12_fu.

Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
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