BjornPrime opened a new issue, #24312:
URL: https://github.com/apache/beam/issues/24312

   ### What needs to happen?
   
   Current `default_language_version` for Python is set to 3.7, which is 
causing pre-commit check to throw errors when they're run in non-3.7 
environments. Updating this will streamline development in more recent versions 
of Python.
   
   ```
   [INFO] Installing environment for https://github.com/pre-commit/mirrors-yapf.
   [INFO] Once installed this environment will be reused.
   [INFO] This may take a few minutes...
   An unexpected error has occurred: CalledProcessError: command: 
('/Users/bjornpedersen/.pyenv/versions/3.10.5/envs/env105/bin/python3.10', 
'-mvirtualenv', 
'/Users/bjornpedersen/.cache/pre-commit/repoj99o3uv5/py_env-python3.7', '-p', 
'python3.7')
   return code: 1
   expected return code: 0
   stdout:
       RuntimeError: failed to find interpreter for Builtin discover of 
python_spec='python3.7'
       
   stderr: (none)
   Check the log at /Users/bjornpedersen/.cache/pre-commit/pre-commit.log
   ```
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: sdk-py-core


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