dongjoon-hyun commented on code in PR #37279:
URL: https://github.com/apache/spark/pull/37279#discussion_r929203072
##########
python/pyspark/context.py:
##########
@@ -306,6 +306,14 @@ def _do_init(
self.pythonExec = os.environ.get("PYSPARK_PYTHON", "python3")
self.pythonVer = "%d.%d" % sys.version_info[:2]
+ if sys.version_info[:2] < (3, 8):
Review Comment:
In addition, Spark 3.4 requires Python 3.7+ at the installation stage
explicitly.
https://github.com/apache/spark/blob/8628c15d176a8084b695bbb6ca841831e6fb75d4/python/setup.py#L277
--
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]