sunchao commented on code in PR #37279:
URL: https://github.com/apache/spark/pull/37279#discussion_r929187618
##########
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:
just curious whether the version number could be something different from
3.7? if so perhaps the warning message could be something like `Python support
for version <= 3.7 is deprecated in Spark 3.4.`
--
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]