nchammas commented on code in PR #44920:
URL: https://github.com/apache/spark/pull/44920#discussion_r1469030237


##########
python/pyspark/errors/error_classes.py:
##########
@@ -15,1110 +15,16 @@
 # limitations under the License.
 #
 
-# NOTE: Automatically sort this file via
-# - cd $SPARK_HOME
-# - bin/pyspark
-# - from pyspark.errors.exceptions import _write_self; _write_self()
 import json
+from pathlib import Path
 
+THIS_DIR = Path(__file__).parent

Review Comment:
   Actually, you are right. `MANIFEST.in` needs to be adjusted. I see the JSON 
file added to the `dist/` directory, but it doesn't get installed into the 
virtual environment I created for testing.
   
   To find this, I had to adjust my test from `pip install -e .` to `pip 
install .`, so that the virtual environment gets its own copy of PySpark and 
does not rely on the source repo.
   
   Fix incoming...



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