LuciferYang commented on PR #53872:
URL: https://github.com/apache/spark/pull/53872#issuecomment-3776849200

   @ericm-db  The following modules are installed in the environment:
   
   ```
   Package           Version
   ----------------- ---------------
   black             23.12.1
   click             8.3.1
   mypy              1.8.0
   mypy_extensions   1.1.0
   mypy-protobuf     3.3.0
   packaging         25.0
   pathspec          1.0.3
   pip               24.0
   platformdirs      4.5.1
   protobuf          6.33.0
   setuptools        65.5.0
   types-protobuf    6.32.1.20251210
   typing_extensions 4.15.0
   ```
   
   We can install them using the following commands ref to `build_and_test.yml`
   
   ```
   python3.11 -m pip install 'black==23.12.1' 'protobuf==6.33.0' 'mypy==1.8.0' 
'mypy-protobuf==3.3.0'
   ```
   
   Executing `./dev/connect-gen-protos.sh` in this environment will result in 
changes to two files.
   
   ```
   git status                   
   On branch connect-datastream-reader-name
   Changes not staged for commit:
     (use "git add <file>..." to update what will be committed)
     (use "git restore <file>..." to discard changes in working directory)
        modified:   python/pyspark/sql/connect/proto/relations_pb2.py
        modified:   python/pyspark/sql/connect/proto/relations_pb2.pyi
   ```
   
   Executing `./dev/check-protos.py` at this point should pass.
   
   
   The version of `buf` in my environment is 1.54.0.
   


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