Created
January 30, 2023 14:41
Revisions
-
ssbarnea created this gist
Jan 30, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ ### version information ``` pre-commit version: 3.0.1 git --version: git version 2.39.1 sys.version: 3.11.1 (main, Dec 23 2022, 09:28:24) [Clang 14.0.0 (clang-1400.0.29.202)] sys.executable: /Users/ssbarnea/.local/pipx/venvs/pre-commit/bin/python os.name: posix sys.platform: darwin ``` ### error information ``` An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy immediately after install, please open an issue describing your environment more info: virtualenv python version did not match created version: - actual version: <<error retrieving version from /Users/ssbarnea/.cache/pre-commit/repo2mi5ks7l/py_env-python3.11/bin/python>> - expected version: 3.11.1.final.0 ``` ``` Traceback (most recent call last): File "/Users/ssbarnea/.local/pipx/venvs/pre-commit/lib/python3.11/site-packages/pre_commit/error_handler.py", line 73, in error_handler yield File "/Users/ssbarnea/.local/pipx/venvs/pre-commit/lib/python3.11/site-packages/pre_commit/main.py", line 394, in main return run(args.config, store, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ssbarnea/.local/pipx/venvs/pre-commit/lib/python3.11/site-packages/pre_commit/commands/run.py", line 436, in run install_hook_envs(to_install, store) File "/Users/ssbarnea/.local/pipx/venvs/pre-commit/lib/python3.11/site-packages/pre_commit/repository.py", line 239, in install_hook_envs _hook_install(hook) File "/Users/ssbarnea/.local/pipx/venvs/pre-commit/lib/python3.11/site-packages/pre_commit/repository.py", line 91, in _hook_install raise AssertionError( AssertionError: BUG: expected environment for python to be healthy immediately after install, please open an issue describing your environment more info: virtualenv python version did not match created version: - actual version: <<error retrieving version from /Users/ssbarnea/.cache/pre-commit/repo2mi5ks7l/py_env-python3.11/bin/python>> - expected version: 3.11.1.final.0 ```