Created
January 30, 2023 14:41
-
-
Save ssbarnea/7cb347f2bc649ab30d7068189a9434ee to your computer and use it in GitHub Desktop.
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 characters
### 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 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment