FANNG1 opened a new issue, #4695:
URL: https://github.com/apache/gravitino/issues/4695

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   ./gradlew :clients:client-python:build failed if the package doesn't contain 
.git directory.
   
   ### Error message and/or stacktrace
   
   ```
   fatal: not a git repository (or any of the parent directories): .git
   Traceback (most recent call last):
     File "scripts/generate_version.py", line 79, in <module>
       main()
     File "scripts/generate_version.py", line 41, in main
       subprocess.check_output(["git", "rev-parse", 
"HEAD"]).decode("ascii").strip()
     File 
"/Users/fanng/release/0.6.0/gravitino-0.6.0-incubating-src/.gradle/python/MacOSX/Miniforge3/envs/python-3.8/lib/python3.8/subprocess.py",
 line 415, in check_output
       return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     File 
"/Users/fanng/release/0.6.0/gravitino-0.6.0-incubating-src/.gradle/python/MacOSX/Miniforge3/envs/python-3.8/lib/python3.8/subprocess.py",
 line 516, in run
       raise CalledProcessError(retcode, process.args,
   subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' 
returned non-zero exit status 128.
   ```
   
   ### How to reproduce
   
   ./gradlew :clients:client-python:build
   
   ### Additional context
   
   _No response_


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

Reply via email to