Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Nov 7, 2025

What changes were proposed in this pull request?

This PR aims to install mlflow at Python 3.14 Docker image.

Why are the changes needed?

MLFlow 3.6.0 is released with Python 3.14 support via PyArrow 22.0.0.

Like the other images, we will add the same condition mlflow>=2.8.1, but it will install MLFlow>=3.6.0 effectively.

ARG BASIC_PIP_PKGS="numpy pyarrow>=21.0.0 six==1.16.0 pandas==2.3.3 scipy plotly<6.0.0 mlflow>=2.8.1 coverage matplotlib openpyxl memory-profiler>=0.61.0 scikit-learn>=1.3.2"

Does this PR introduce any user-facing change?

No behavior change.

How was this patch tested?

Manual review.

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

No.

@github-actions github-actions bot added the BUILD label Nov 7, 2025
@dongjoon-hyun
Copy link
Member Author

Could you review this PR, @ueshin ?

Copy link
Member

@ueshin ueshin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@dongjoon-hyun
Copy link
Member Author

Thank you, @ueshin !

dongjoon-hyun added a commit that referenced this pull request Nov 8, 2025
### What changes were proposed in this pull request?

This PR aims to install `mlflow` at Python 3.14 Docker image.

### Why are the changes needed?

MLFlow 3.6.0 is released with Python 3.14 support via PyArrow 22.0.0.
- https://pypi.org/project/mlflow/3.6.0/

Like the other images, we will add the same condition `mlflow>=2.8.1`, but it will install `MLFlow>=3.6.0` effectively.

https://github.com/apache/spark/blob/a871ba4464e07cb0229b1289b125bb07da7b6265/dev/spark-test-image/python-313/Dockerfile#L71

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

No behavior change.

### How was this patch tested?

Manual review.

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

No.

Closes #52948 from dongjoon-hyun/SPARK-54245.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit d16b128)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun dongjoon-hyun deleted the SPARK-54245 branch November 8, 2025 01:51
@dongjoon-hyun
Copy link
Member Author

Merged to master/4.1 for Apache Spark 4.1.0.

zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 22, 2025
### What changes were proposed in this pull request?

This PR aims to install `mlflow` at Python 3.14 Docker image.

### Why are the changes needed?

MLFlow 3.6.0 is released with Python 3.14 support via PyArrow 22.0.0.
- https://pypi.org/project/mlflow/3.6.0/

Like the other images, we will add the same condition `mlflow>=2.8.1`, but it will install `MLFlow>=3.6.0` effectively.

https://github.com/apache/spark/blob/5a5f03da543f2bc7ffc922d7e1a9a3b672234ceb/dev/spark-test-image/python-313/Dockerfile#L71

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

No behavior change.

### How was this patch tested?

Manual review.

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

No.

Closes apache#52948 from dongjoon-hyun/SPARK-54245.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
huangxiaopingRD pushed a commit to huangxiaopingRD/spark that referenced this pull request Nov 25, 2025
### What changes were proposed in this pull request?

This PR aims to install `mlflow` at Python 3.14 Docker image.

### Why are the changes needed?

MLFlow 3.6.0 is released with Python 3.14 support via PyArrow 22.0.0.
- https://pypi.org/project/mlflow/3.6.0/

Like the other images, we will add the same condition `mlflow>=2.8.1`, but it will install `MLFlow>=3.6.0` effectively.

https://github.com/apache/spark/blob/a871ba4464e07cb0229b1289b125bb07da7b6265/dev/spark-test-image/python-313/Dockerfile#L71

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

No behavior change.

### How was this patch tested?

Manual review.

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

No.

Closes apache#52948 from dongjoon-hyun/SPARK-54245.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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