panbingkun commented on PR #48666:
URL: https://github.com/apache/spark/pull/48666#issuecomment-2458511589

   > Surprisingly this caused the test failures in Spark Connect specifically 
for Mac ....
   > 
   > ```
   > /python/run-tests --python-executables=python3 --testnames 
"pyspark.sql.tests.connect.test_connect_collection"
   > ```
   > 
   > With this PR:
   > 
   > ```
   > google.protobuf.runtime_version.VersionError: Detected incompatible 
Protobuf Gencode/Runtime versions when loading spark/connect/base.proto: 
gencode 5.28.3 runtime 5.28.2. Runtime version cannot be older than the linked 
gencode version. See Protobuf version guarantees at 
https://protobuf.dev/support/cross-version-runtime-guarantee.
   > ```
   > 
   > Without this PR:
   > 
   > ```
   > Running PySpark tests. Output is in /.../spark/python/unit-tests.log
   > Will test against the following Python executables: ['python3']
   > Will test the following Python tests: 
['pyspark.sql.tests.connect.test_connect_collection']
   > python3 python_implementation is CPython
   > python3 version is: Python 3.11.9
   > Starting test(python3): pyspark.sql.tests.connect.test_connect_collection 
(temp output: 
/.../spark/python/target/c288c2b5-a11a-4d12-8169-3947c2db9cdc/python3__pyspark.sql.tests.connect.test_connect_collection__rwwdqgag.log)
   > Finished test(python3): pyspark.sql.tests.connect.test_connect_collection 
(16s)
   > Tests passed in 16 seconds
   > ```
   > 
   > ...
   > 
   > Let me revert this for now because the change is sort of trivial but seems 
like this affects all developers with Mac ..
   
   Thank you for helping to fix it. Let me investigate it. Thanks!


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