This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 0393b5ebb327 [SPARK-54048][PYTHON] Update `dev/requirements.txt` to 
install `torch(vision)` in Python 3.14
0393b5ebb327 is described below

commit 0393b5ebb327196cfd118cd1f7f4c61ded51b4ed
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Oct 27 18:46:30 2025 -0700

    [SPARK-54048][PYTHON] Update `dev/requirements.txt` to install 
`torch(vision)` in Python 3.14
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update `dev/requirements.txt` to install `torch(vision)` in 
Python 3.14
    
    ### Why are the changes needed?
    
    `torch` 2.9.0 finally supports `Python 3.14`.
    - https://pypi.org/project/torch/2.9.0/
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual review.
    
    ```
    $ python3 --version
    Python 3.14.0
    
    $ pip3 install torch
    Successfully installed torch-2.9.0
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #52750 from dongjoon-hyun/SPARK-54048.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 dev/requirements.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/requirements.txt b/dev/requirements.txt
index 40e7fa46cf14..76652df74481 100644
--- a/dev/requirements.txt
+++ b/dev/requirements.txt
@@ -76,8 +76,8 @@ graphviz==0.20.3
 flameprof==0.4
 
 # TorchDistributor dependencies
-torch; python_version < '3.14'
-torchvision; python_version < '3.14'
+torch
+torchvision
 torcheval
 
 # DeepspeedTorchDistributor dependencies


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to