[ 
https://issues.apache.org/jira/browse/SPARK-54736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruifeng Zheng resolved SPARK-54736.
-----------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

Issue resolved by pull request 53510
[https://github.com/apache/spark/pull/53510]

> run-tests should use sys.executable by default
> ----------------------------------------------
>
>                 Key: SPARK-54736
>                 URL: https://issues.apache.org/jira/browse/SPARK-54736
>             Project: Spark
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 4.2.0
>            Reporter: Tian Gao
>            Assignee: Tian Gao
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.2.0
>
>
> Currently run-tests.py uses python3.11 if python-executables is not defined, 
> which is a very weird choice. If I have python3.11 on my machine, even when I 
> run the script in my 3.12 venv, the test would find python3.11. This is not 
> the correct behavior.
> The most reasonable default is to use the python that executes this script 
> (it's a python script so we must have python!).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to