Closed jameslamb closed 5 months ago
The extra couple commits I just pushed here were attempts to diagnose this:
An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/python', '-mvirtualenv', '/home/runner/.cache/pre-commit/repooxbc06io/py_env-python3.9', '-p', 'python3.9')
return code: 1
stdout:
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9'
stderr: (none)
Check the log at /home/runner/.cache/pre-commit/pre-commit.log
(build link).
I had been using the following in .pre-commit-config.yaml
:
default_language_version:
python: python3.9
Changing that to this pattern used across most of the RAPIDS repos resolved it:
default_language_version:
python: python3
I'm going to merge this as I don't think that's a controversial choice and it'd be easy to revert. Wanted to just explain so you know I'm not trying to sneak in some other changes on a stale approval 😅
:tada: This PR is included in version 1.13.11 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Fixes #87.
mypy
(without--strict
)mypy
pre-commit autoupdate
Notes for Reviewers
This won't pass CI until #94 is merged.