ueshin opened a new pull request #33507:
URL: https://github.com/apache/spark/pull/33507


   ### What changes were proposed in this pull request?
   
   Fix `lint-python` to pick `PYTHON_EXECUTABLE` from the environment variable 
first to switch the Python and explicitly specify `PYTHON_EXECUTABLE` to use 
`python3.9` in CI.
   
   ### Why are the changes needed?
   
   Currently `lint-python` uses `python3`, but it's not the one we expect in CI.
   As a result, `black` check is not working.
   
   ```
   The python3 -m black command was not found. Skipping black checks for now.
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   The `black` check in `lint-python` should work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to