Open RobFirth opened 2 months ago
ensuring setuptools
is specified as a dependency in the project python environment solves this issue.
Interestingly, the same error can be resolved for nbdev
using the additional_dependencies
option:
- repo: https://github.com/fastai/nbdev
rev: 2.3.25
hooks:
- id: nbdev_clean
additional_dependencies: [setuptools]
Running pre-commit hooks gives the following error in python 3.12.4: