Tian Gao created SPARK-54736:
--------------------------------

             Summary: 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


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