Closed
Description
Zarr version
Current main branch
Numcodecs version
n/a
Python Version
3.11
Operating System
macOS
Installation
Using pip from source
Description
It's currently only possible to run pre-commit
during development when using a Python 3.8 interpreter. It would be much nicer to be able to run pre-commit from any Python version.
Steps to reproduce
pre-commit run --all-files
[INFO] Installing environment for https://github.com/psf/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/Users/dstansby/mambaforge/envs/dev/bin/python3.11', '-mvirtualenv', '/Users/dstansby/.cache/pre-commit/repondjgl4u_/py_env-python3.8', '-p', 'python3.8')
return code: 1
stdout:
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.8'
stderr: (none)
Check the log at /Users/dstansby/.cache/pre-commit/pre-commit.log
Additional output
No response